summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-12-20 20:16:48 +0000
committerbwarsaw2000-12-20 20:16:48 +0000
commitd8a2d4d60b72543319315330077470ddf67ab108 (patch)
tree8a8916b72e7f8bad31be480ad2a3f64a6585790c
parentc8196fbdd58eef50de23e43691747aeac66ebc9d (diff)
downloadmailman-d8a2d4d60b72543319315330077470ddf67ab108.tar.gz
mailman-d8a2d4d60b72543319315330077470ddf67ab108.tar.zst
mailman-d8a2d4d60b72543319315330077470ddf67ab108.zip
main(): In the conversion to string methods, the initialization of
default values for lock and run were moved to the wrong place. (found by Dan Mick.)
-rw-r--r--bin/withlist4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/withlist b/bin/withlist
index 9a16127d0..8f63bcf00 100644
--- a/bin/withlist
+++ b/bin/withlist
@@ -158,6 +158,8 @@ def main():
except getopt.error, msg:
usage(1, msg)
+ lock = 0
+ run = None
for opt, arg in opts:
if opt in ('-h', '--help'):
usage(0)
@@ -170,8 +172,6 @@ def main():
usage(1, _('No list name supplied.'))
listname = args.pop(0).lower().strip()
- lock = 0
- run = None
# first try to open mailing list
print >> sys.stderr, _('Loading list %(listname)s'),