[Python-checkins] distutils2: Print a space after multi-line prompt

tarek.ziade python-checkins at python.org
Sun Jan 23 15:48:24 CET 2011


tarek.ziade pushed ca81ae07a373 to distutils2:

http://hg.python.org/distutils2/rev/ca81ae07a373
changeset:   895:ca81ae07a373
user:        ?ric Araujo <merwok at netwok.org>
date:        Fri Jan 21 21:37:47 2011 +0100
summary:
  Print a space after multi-line prompt

files:
  distutils2/mkcfg.py

diff --git a/distutils2/mkcfg.py b/distutils2/mkcfg.py
--- a/distutils2/mkcfg.py
+++ b/distutils2/mkcfg.py
@@ -106,7 +106,7 @@
         if default and len(question) + len(default) > 70:
             prompt = '%s\n    [%s]: ' % (question, default)
     if lengthy or multiline:
-        prompt += '\n   >'
+        prompt += '\n   > '
 
     if not helptext:
         helptext = 'No additional help available.'

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list