Skip to content

Commit

Permalink
Require Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Dec 21, 2011
1 parent 56f3f02 commit 52a9fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phenny
Expand Up @@ -17,8 +17,8 @@ from textwrap import dedent as trim
dotdir = os.path.expanduser('~/.phenny')

def check_python_version():
if sys.version_info < (2, 4):
error = 'Error: Requires Python 2.4 or later, from www.python.org'
if sys.version_info < (2, 7):
error = 'Error: Requires Python 2.7 or later. Try python2.7 phenny'
print >> sys.stderr, error
sys.exit(1)

Expand Down

0 comments on commit 52a9fc0

Please sign in to comment.