[Python-checkins] distutils2: Fixes for Python 2.4 compatibility

alexis.metaireau python-checkins at python.org
Mon Sep 12 19:13:45 CEST 2011


http://hg.python.org/distutils2/rev/b5852bdcb91c
changeset: 1137:b5852bdcb91c
user: Jeremy Kloth <jeremy.kloth at gmail.com>
date: Mon Sep 12 05:33:18 2011 -0600
summary:
 Fixes for Python 2.4 compatibility
files:
 distutils2/dist.py | 6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/distutils2/dist.py b/distutils2/dist.py
--- a/distutils2/dist.py
+++ b/distutils2/dist.py
@@ -61,7 +61,7 @@
 
 # 'common_usage' is a short (2-3 line) string describing the common
 # usage of the setup script.
- common_usage = u"""\
+ common_usage = """\
 Common commands: (see '--help-commands' for more)
 
 pysetup run build will build the package underneath 'build/'
@@ -546,7 +546,7 @@
 # we ignore "foo bar").
 if self.help_commands:
 self.print_commands()
- print()
+ print(u'')
 print(gen_usage(self.script_name))
 return 1
 
@@ -614,7 +614,7 @@
 "Standard commands",
 max_length)
 if extra_commands:
- print()
+ print(u'')
 self.print_command_list(extra_commands,
 "Extra commands",
 max_length)
-- 
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /