Skip to content

Commit

Permalink
Use input in place of raw_input for python3+
Browse files Browse the repository at this point in the history
Since the raw_input() function  has been renamed to input in python 3,
we replace it by input() in case willie is run from python3+
  • Loading branch information
Arnaud Vazard committed Jun 17, 2014
1 parent 2699870 commit 9fb0d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions willie/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
if sys.version_info.major >= 3:
unicode = str
basestring = str
raw_input = input

class ConfigurationError(Exception):
""" Exception type for configuration errors """
Expand Down

0 comments on commit 9fb0d31

Please sign in to comment.