summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2003-05-14 19:48:57 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2003-05-14 19:48:57 (GMT)
commitf0b5d174c130c3710bae7860ec005bdb8e7ac3dd (patch)
tree9d24ae7926436a1e0fb33e932b177c4ebfa6a1e5 /Lib
parent071b0bc9f82aa04f676b53ecbe1f0369817c28ee (diff)
downloadcpython-f0b5d174c130c3710bae7860ec005bdb8e7ac3dd.zip
cpython-f0b5d174c130c3710bae7860ec005bdb8e7ac3dd.tar.gz
cpython-f0b5d174c130c3710bae7860ec005bdb8e7ac3dd.tar.bz2
Restore Python 1.5.2 compatibility.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/msvccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index 4d7159f..eeac0ee 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -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: