Jim Kleckner <[EMAIL PROTECTED]> added the comment:

Sorry, posted too quickly.

Actually, the problem was a little different.
There was an environment variable with '=' characters in it.

Here is a patch to deal with that:

--- msvc9compiler.py.orig       2008-07-23 16:13:25.248438400 -0700
+++ msvc9compiler.py    2008-07-23 16:13:54.059867200 -0700
@@ -252,7 +252,9 @@
         if '=' not in line:
             continue
         line = line.strip()
-        key, value = line.split('=')
+        i = line.index('=')
+        key   = line[0:i]
+        value = line[i:]
         key = key.lower()
         if key in interesting:
             if value.endswith(os.pathsep):

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to