From 34d7a5444ee72a7b6ca9193c2dc5975d0b894a8a Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 27 Mar 2011 00:13:32 -0700 Subject: migrate to print() --- layman/argsparser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layman/argsparser.py b/layman/argsparser.py index ff7f8f7..708b1f8 100644 --- a/layman/argsparser.py +++ b/layman/argsparser.py @@ -20,6 +20,8 @@ # '''Defines the configuration options and provides parsing functionality.''' +from __future__ import print_function + __version__ = "$Id: config.py 286 2007-01-09 17:48:23Z wrobel $" #=============================================================================== @@ -227,7 +229,7 @@ class ArgsParser(BareConfig): # Parse the command line first since we need to get the config # file option. if len(args) == 1: - print 'Usage:%s' % _USAGE + print('Usage:%s' % _USAGE) sys.exit(0) (self.options, remain_args) = self.parser.parse_args(args) -- cgit v1.2.3-1-g7c22