diff options
-rw-r--r-- | src/lib/Proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py index 56390bf40..2047e3b97 100644 --- a/src/lib/Proxy.py +++ b/src/lib/Proxy.py @@ -34,7 +34,7 @@ import time import urlparse import xmlrpclib -version = string.split(string.split(sys.version)[0], ".") +version = sys.version_info[:2] has_py23 = map(int, version) >= [2, 3] has_py26 = map(int, version) >= [2, 6] |