summaryrefslogtreecommitdiff
path: root/bin/fix_url.py
diff options
context:
space:
mode:
authorbwarsaw2002-04-01 14:51:00 +0000
committerbwarsaw2002-04-01 14:51:00 +0000
commit03746ddd239e39255fabb84c08e649325572b864 (patch)
treebb8bfacae2c3eeab1e37a3b76c7f8f34fea28136 /bin/fix_url.py
parente3104255d900b18c58f61cddb5f5672d46f2b513 (diff)
downloadmailman-03746ddd239e39255fabb84c08e649325572b864.tar.gz
mailman-03746ddd239e39255fabb84c08e649325572b864.tar.zst
mailman-03746ddd239e39255fabb84c08e649325572b864.zip
Diffstat (limited to 'bin/fix_url.py')
-rw-r--r--bin/fix_url.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/fix_url.py b/bin/fix_url.py
index b0dda1f5b..3806902aa 100644
--- a/bin/fix_url.py
+++ b/bin/fix_url.py
@@ -1,3 +1,5 @@
+#! @PYTHON@
+#
# Copyright (C) 2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
@@ -21,6 +23,7 @@ This script is intended to be run as a bin/withlist script, i.e.
% bin/withlist -l -r fix_url <mylist>
"""
+import paths
from Mailman import mm_cfg
from Mailman.i18n import _
@@ -30,3 +33,8 @@ def fix_url(mlist):
mlist.web_page_url = mm_cfg.DEFAULT_URL_PATTERN % mm_cfg.DEFAULT_URL_HOST
print _('Saving list')
mlist.Save()
+
+
+
+if __name__ == '__main__':
+ print _(__doc__.replace('%', '%%'))