diff options
| author | bwarsaw | 2001-05-03 21:20:09 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-03 21:20:09 +0000 |
| commit | c1c4b2883c941def86fd714958b649524973cd34 (patch) | |
| tree | 108f5ee42c2c44cce99719aedfb44b4e49a64bcf /Mailman/Cgi/edithtml.py | |
| parent | 6aa9a8f9bbf8bfe7452e283f338dfc63b9c765fe (diff) | |
| download | mailman-c1c4b2883c941def86fd714958b649524973cd34.tar.gz mailman-c1c4b2883c941def86fd714958b649524973cd34.tar.zst mailman-c1c4b2883c941def86fd714958b649524973cd34.zip | |
Diffstat (limited to 'Mailman/Cgi/edithtml.py')
| -rw-r--r-- | Mailman/Cgi/edithtml.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py index 8e9532951..ca9b738a6 100644 --- a/Mailman/Cgi/edithtml.py +++ b/Mailman/Cgi/edithtml.py @@ -18,7 +18,6 @@ import os import cgi -import string import gettext from Mailman import Utils @@ -35,8 +34,8 @@ from Mailman.i18n import _ def main(): # Trick out pygettext since we want to mark template_data as translatable, # but we don't want to actually translate it here. - def _(string): - return string + def _(s): + return s template_data = ( ('listinfo.html', _('General list information page')), @@ -55,7 +54,7 @@ def main(): print doc.Format(bgcolor='#ffffff') return - listname = string.lower(parts[0]) + listname = parts[0].lower() try: mlist = MailList.MailList(listname, lock=0) except Errors.MMListError, e: |
