diff options
| author | Barry Warsaw | 2011-02-26 21:27:25 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2011-02-26 21:27:25 -0500 |
| commit | 2c562fd0191b0af04511dad2b0d0ae57b31198e7 (patch) | |
| tree | cb4676ece952846f2015c72e2e40c67c8b8c7398 /src/mailman/Archiver/HyperArch.py | |
| parent | ca35b80852bd04d5cd39bf494554f8b15e2de048 (diff) | |
| download | mailman-2c562fd0191b0af04511dad2b0d0ae57b31198e7.tar.gz mailman-2c562fd0191b0af04511dad2b0d0ae57b31198e7.tar.zst mailman-2c562fd0191b0af04511dad2b0d0ae57b31198e7.zip | |
Diffstat (limited to 'src/mailman/Archiver/HyperArch.py')
| -rw-r--r-- | src/mailman/Archiver/HyperArch.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/Archiver/HyperArch.py b/src/mailman/Archiver/HyperArch.py index 9d219585d..218c46875 100644 --- a/src/mailman/Archiver/HyperArch.py +++ b/src/mailman/Archiver/HyperArch.py @@ -50,7 +50,7 @@ from mailman.Archiver import pipermail from mailman.config import config from mailman.core.i18n import _, ctime from mailman.interfaces.listmanager import IListManager -from mailman.utilities.string import websafe +from mailman.utilities.string import uncanonstr, websafe log = logging.getLogger('mailman.error') @@ -86,7 +86,7 @@ def html_quote(s, langcode=None): ('"', '"')) for thing, repl in repls: s = s.replace(thing, repl) - return Utils.uncanonstr(s, langcode) + return uncanonstr(s, langcode) def url_quote(s): @@ -123,7 +123,7 @@ def CGIescape(arg, lang=None): s = websafe(arg) else: s = websafe(str(arg)) - return Utils.uncanonstr(s.replace('"', '"'), lang.code) + return uncanonstr(s.replace('"', '"'), lang.code) # Parenthesized human name paren_name_pat = re.compile(r'([(].*[)])') @@ -202,7 +202,7 @@ def quick_maketext(templatefile, dict=None, lang=None, mlist=None): pass # Make sure the text is in the given character set, or html-ify any bogus # characters. - return Utils.uncanonstr(text, lang.code) + return uncanonstr(text, lang.code) |
