diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-08 02:10:57 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-08 02:10:57 (GMT) |
commit | 3cab2f150c5ab8af6cedbe9ce5550d97e4a4004a (patch) | |
tree | 6b47832c98920e8956eab057606465a09327e35b /Lib/packaging/dist.py | |
parent | 04fc999c057dffee882e8711ba28ec51ee092698 (diff) | |
download | cpython-3cab2f150c5ab8af6cedbe9ce5550d97e4a4004a.zip cpython-3cab2f150c5ab8af6cedbe9ce5550d97e4a4004a.tar.gz cpython-3cab2f150c5ab8af6cedbe9ce5550d97e4a4004a.tar.bz2 |
Packaging cleanup: normalize print calls.
Namely: use default arguments instead of explicit empty string; use multiple
arguments instead of building strings.
Diffstat (limited to 'Lib/packaging/dist.py')
-rw-r--r-- | Lib/packaging/dist.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/packaging/dist.py b/Lib/packaging/dist.py index 6065e78..5c390ce 100644 --- a/Lib/packaging/dist.py +++ b/Lib/packaging/dist.py @@ -509,14 +509,14 @@ Common commands: (see '--help-commands' for more) options = self.global_options parser.set_option_table(options) parser.print_help(self.common_usage + "\nGlobal options:") - print('') + print() if display_options: parser.set_option_table(self.display_options) parser.print_help( "Information display options (just display " + "information, ignore any commands)") - print('') + print() for command in self.commands: if isinstance(command, type) and issubclass(command, Command): @@ -529,7 +529,7 @@ Common commands: (see '--help-commands' for more) else: parser.set_option_table(cls.user_options) parser.print_help("Options for %r command:" % cls.__name__) - print('') + print() print(gen_usage(self.script_name)) @@ -544,7 +544,7 @@ Common commands: (see '--help-commands' for more) # we ignore "foo bar"). if self.help_commands: self.print_commands() - print('') + print() print(gen_usage(self.script_name)) return 1 |