From: Marc-André Lemburg Date: Wed, 14 May 2003 19:48:57 +0000 (+0000) Subject: Restore Python 1.5.2 compatibility. X-Git-Tag: v2.3c1~718 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0b5d174c130c3710bae7860ec005bdb8e7ac3dd;p=thirdparty%2FPython%2Fcpython.git Restore Python 1.5.2 compatibility. --- diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index 4d7159f0f929..eeac0ee67a3f 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: