aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2011-02-17 15:27:08 -0800
committerMark Sapiro <msapiro@value.net>2011-02-17 15:27:08 -0800
commit47e0beb690bcf2649da0cce9046667b35baac7e7 (patch)
tree7ebe75ee09f5b09a63d276566cf51395406e1ebb
parent2858a6747610370e07f2e4dd0e8d76c28ba0c779 (diff)
downloadmailman2-47e0beb690bcf2649da0cce9046667b35baac7e7.tar.gz
mailman2-47e0beb690bcf2649da0cce9046667b35baac7e7.tar.xz
mailman2-47e0beb690bcf2649da0cce9046667b35baac7e7.zip
Fixed a typo in the usage() definition cron/gate_news. Bug #721015.
-rw-r--r--NEWS2
-rwxr-xr-xcron/gate_news4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 773690a8..04da6e85 100644
--- a/NEWS
+++ b/NEWS
@@ -34,6 +34,8 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Fixed a typo in the usage() definition cron/gate_news. Bug #721015.
+
- Fixed an uncaught KeyError when poster tries to cancel a post which was
already handled. Bug #266224.
diff --git a/cron/gate_news b/cron/gate_news
index 9eea84ce..c66c09e0 100755
--- a/cron/gate_news
+++ b/cron/gate_news
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -75,7 +75,7 @@ except NameError:
-def usage(status, msg=''):
+def usage(code, msg=''):
if code:
fd = sys.stderr
else: