diff options
author | Brian Dolbec <brian.dolbec@gmail.com> | 2011-03-27 00:13:32 -0700 |
---|---|---|
committer | Brian Dolbec <brian.dolbec@gmail.com> | 2011-03-27 00:13:32 -0700 |
commit | 34d7a5444ee72a7b6ca9193c2dc5975d0b894a8a (patch) | |
tree | c96031f466a41a266ead783603f8574291b14059 | |
parent | 0cd786b5d016d3b08dc8dbb1843ed04b5ce910a0 (diff) | |
download | layman-34d7a5444ee72a7b6ca9193c2dc5975d0b894a8a.tar.gz layman-34d7a5444ee72a7b6ca9193c2dc5975d0b894a8a.tar.bz2 layman-34d7a5444ee72a7b6ca9193c2dc5975d0b894a8a.zip |
migrate to print()
-rw-r--r-- | layman/argsparser.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |