]> granicus.if.org Git - python/commitdiff
Restore Python 1.5.2 compatibility.
authorMarc-André Lemburg <mal@egenix.com>
Wed, 14 May 2003 19:48:57 +0000 (19:48 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 14 May 2003 19:48:57 +0000 (19:48 +0000)
Lib/distutils/msvccompiler.py

index 4d7159f0f92962ca5f59491e3c64f2001a3eb402..eeac0ee67a3f374f449c9744c70a33e4fbe6dd37 100644 (file)
@@ -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: