diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-11-11 20:32:40 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-11-11 20:32:40 +0100 |
commit | 071043b953ba0d6298118f4acd1432733a8f8a27 (patch) | |
tree | b8185afe94a2abf9d946c778d2deaa74f7730e0e | |
parent | gentoo fix, thanks to jabbas (diff) | |
download | pyload-071043b953ba0d6298118f4acd1432733a8f8a27.tar.xz |
closed #185
-rw-r--r-- | module/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/setup.py b/module/setup.py index 2c3250dab..8881cf055 100644 --- a/module/setup.py +++ b/module/setup.py @@ -179,10 +179,10 @@ class Setup(): python = False - if sys.version_info > (2, 8): + if sys.version_info[:2] > (2, 7): print _("Your python version is to new, Please use Python 2.6/2.7") python = False - elif sys.version_info < (2, 5): + elif sys.version_info[:2] < (2, 5): print _("Your python version is to old, Please use at least Python 2.5") python = False else: |