From d4d71f71f08d6d440b17482eecc5472dcfe6cbae Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 28 Apr 2014 11:23:35 -0400 Subject: Use print functions consistently through, and update all __future__ imports to reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies. --- src/mailman/bin/checkdbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/bin/checkdbs.py') diff --git a/src/mailman/bin/checkdbs.py b/src/mailman/bin/checkdbs.py index 3a5ad736e..7b0c6c6f2 100644 --- a/src/mailman/bin/checkdbs.py +++ b/src/mailman/bin/checkdbs.py @@ -51,7 +51,7 @@ Check for pending admin requests and mail the list owners if necessary.""")) opts, args = parser.parse_args() if args: parser.print_help() - print >> sys.stderr, _('Unexpected arguments') + print(_('Unexpected arguments'), file=sys.stderr) sys.exit(1) return opts, args, parser -- cgit v1.2.3-70-g09d2