From 7bc173fa35cb5b1347fc2a706f3405f8b59e93f1 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 24 Sep 2003 22:10:10 +0000 Subject: to_percent(): Fix double dollar expansions. --- Mailman/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 13e751a76..175c23a1b 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -699,7 +699,7 @@ def to_dollar(s): def to_percent(s): """Convert from $-strings to %-strings.""" - s = s.replace('%', '%%').replace('$$', '$') + s = s.replace('%', '%%') parts = dre.split(s) for i in range(1, len(parts), 4): if parts[i] is not None: -- cgit v1.2.3-70-g09d2