Use print() function to fix install on python 3

clint 0.3.2 can't be installed on python 3.3 because of a print statement.
This commit is contained in:
Simon Conseil
2013-12-05 23:42:27 +01:00
parent cab8004284
commit ce25cea7e8
+2 -2
View File
@@ -8,7 +8,7 @@ Module for simple interactive prompts handling
"""
from __future__ import absolute_import
from __future__ import absolute_import, print_function
from re import match, I
@@ -30,7 +30,7 @@ def yn(prompt, default='y', batch=False):
if not batch:
input = raw_input(prompt).strip()
else:
print prompt
print(prompt)
input = ''
# If input is empty default choice is assumed