Ticket #761: bcfg2-proxy

File bcfg2-proxy, 398 bytes (added by Guilhem Lettron <[email protected]…>, 13 years ago)

patch

Line 
1Index: src/lib/Proxy.py
2===================================================================
3--- src/lib/Proxy.py    (révision 5480)
4+++ src/lib/Proxy.py    (copie de travail)
5@@ -34,7 +34,7 @@
6 import urlparse
7 import xmlrpclib
8 
9-version = string.split(string.split(sys.version)[0], ".")
10+version = sys.version_info[:2]
11 has_py23 = map(int, version) >= [2, 3]
12 has_py26 = map(int, version) >= [2, 6]
13