From 4ca291c652a61eec2017778f64f58d04c5786bcf Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 11 Apr 2002 04:49:23 +0000 Subject: main(): Chuq noticed that error messages were going to stdout, not stderr. --- bin/list_members | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/list_members b/bin/list_members index e70f0294d..55a6b76cf 100755 --- a/bin/list_members +++ b/bin/list_members @@ -164,7 +164,7 @@ def main(): try: fp = open(outfile, 'w') except IOError: - print _('Could not open file for writing:'), outfile + print >> sys.stderr, _('Could not open file for writing:'), outfile sys.exit(1) else: fp = sys.stdout @@ -172,7 +172,7 @@ def main(): try: mlist = MailList.MailList(listname, lock=0) except Errors.MMListError, e: - print _('No such list: %(listname)s') + print >> sys.stderr, _('No such list: %(listname)s') sys.exit(1) # Get the lowercased member addresses -- cgit v1.3.1