summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2012-11-23 12:46:45 -0800
committerMarc Abramowitz <marc@marc-abramowitz.com>2012-11-23 12:46:45 -0800
commit04c10c8774ea28e24128f2723e7b1451fcf40de6 (patch)
tree3178e2ca0d97eb97cf078b311705338480a7738e
parente0dcade46e615eda3afed6dad40ae5773a23de4b (diff)
downloadtox-04c10c8774ea28e24128f2723e7b1451fcf40de6.tar.gz
Change print() statements in tox/_quickstart.py so that they print
blank line instead of "()" in Python 2.
-rw-r--r--tox/_quickstart.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox/_quickstart.py b/tox/_quickstart.py
index c04ea57..ab21804 100644
--- a/tox/_quickstart.py
+++ b/tox/_quickstart.py
@@ -150,7 +150,7 @@ file to help get you started using tox.
Please enter values for the following settings (just press Enter to
accept a default value, if one is given in brackets).''')
- print
+ sys.stdout.write('\n')
print('''
What Python versions do you want to test against? Choices:
@@ -218,13 +218,13 @@ def generate(d, overwrite=True, silent=False):
else:
print('File %s already exists, skipping.' % fpath)
- print()
+ sys.stdout.write('\n')
write_file('tox.ini', 'w', conf_text)
if silent:
return
- print()
+ sys.stdout.write('\n')
print('Finished: A tox.ini file has been created.')
print('''
Execute `tox` to test your project.