summaryrefslogtreecommitdiff
path: root/src/mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/Archiver/HyperArch.py')
-rw-r--r--src/mailman/Archiver/HyperArch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/Archiver/HyperArch.py b/src/mailman/Archiver/HyperArch.py
index 7281cdb0f..9d219585d 100644
--- a/src/mailman/Archiver/HyperArch.py
+++ b/src/mailman/Archiver/HyperArch.py
@@ -50,6 +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
log = logging.getLogger('mailman.error')
@@ -119,9 +120,9 @@ html_charset = '<META http-equiv="Content-Type" ' \
def CGIescape(arg, lang=None):
if isinstance(arg, unicode):
- s = Utils.websafe(arg)
+ s = websafe(arg)
else:
- s = Utils.websafe(str(arg))
+ s = websafe(str(arg))
return Utils.uncanonstr(s.replace('"', '&quot;'), lang.code)
# Parenthesized human name