Commit afc49f28 authored by Marc-André Lemburg's avatar Marc-André Lemburg

Restore Python 1.5.2 compatibility.

parent c4ab8865
......@@ -148,7 +148,7 @@ def get_build_version():
i = string.find(sys.version, prefix)
if i == -1:
return 6
i += len(prefix)
i = i + len(prefix)
s, rest = sys.version[i:].split(" ", 1)
n = int(s[:-2])
if n == 12:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment