mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 14:50:17 +00:00
Merge pull request #123 from lyndsysimon/python3
Fix syntax error prevent installation in Python 3.x
This commit is contained in:
@@ -86,5 +86,5 @@ def query(prompt, default='', validators=None, batch=False):
|
||||
for validator in validators:
|
||||
user_input = validator(user_input)
|
||||
return user_input
|
||||
except Exception, e:
|
||||
puts(yellow(e.message))
|
||||
except Exception as e:
|
||||
puts(yellow(e.message))
|
||||
|
||||
Reference in New Issue
Block a user