Skip to content

Commit

Permalink
Fix Python version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
hellysmile committed Nov 2, 2015
1 parent b9ec91a commit 7ee7599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def find_version(*parts):
install_requires.append('hiredis')


if sys.version < (2, 7):
if sys.version_info[0:2] < (2, 7):
install_requires.importlib('importlib')


Expand Down

0 comments on commit 7ee7599

Please sign in to comment.