summaryrefslogtreecommitdiff
path: root/distutils2/command
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2011-09-12 01:39:51 +0200
committer?ric Araujo <merwok@netwok.org>2011-09-12 01:39:51 +0200
commit31214dacba2f9ac2efc8a0d8f0d1a61283f9db98 (patch)
treec01b14e478cb01760365030a89b26d365cd02292 /distutils2/command
parent9cd820dae2d4142970f51e71bce9414293d0ab44 (diff)
downloaddisutils2-31214dacba2f9ac2efc8a0d8f0d1a61283f9db98.tar.gz
Convert print function calls back to print statements.
This caused pysetup to print out tuples. When multi-line strings are enclosed in parens for line-wrapping purposes, which would not print out a tuple, I have added a space for clarity anyway.
Diffstat (limited to 'distutils2/command')
-rw-r--r--distutils2/command/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/distutils2/command/register.py b/distutils2/command/register.py
index b681935..94288b9 100644
--- a/distutils2/command/register.py
+++ b/distutils2/command/register.py
@@ -148,7 +148,7 @@ Your selection [default 1]: ''')
if not choice:
choice = '1'
elif choice not in choices:
- print('Please choose one of the four options!')
+ print 'Please choose one of the four options!'
if choice == '1':
# get the username and password
@@ -199,7 +199,7 @@ Your selection [default 1]: ''')
if data['password'] != data['confirm']:
data['password'] = ''
data['confirm'] = None
- print("Password and confirm don't match!")
+ print "Password and confirm don't match!"
while not data['email']:
data['email'] = input(' EMail: ')
code, result = self.post_to_server(data)