[Numpy-svn] r3909 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Fri Jul 27 16:12:39 CDT 2007


Author: pearu
Date: 2007-07-27 16:12:35 -0500 (Fri, 27 Jul 2007)
New Revision: 3909

Modified:
   trunk/numpy/distutils/misc_util.py
Log:
Fix type error on setting os.environ item.

Modified: trunk/numpy/distutils/misc_util.py
===================================================================
--- trunk/numpy/distutils/misc_util.py	2007-07-27 20:48:48 UTC (rev 3908)
+++ trunk/numpy/distutils/misc_util.py	2007-07-27 21:12:35 UTC (rev 3909)
@@ -327,7 +327,7 @@
     if os.environ.has_key('DISTUTILS_USE_SDK'):
         return
     # try to avoid _MSVCCompiler__root attribute error
-    os.environ['DISTUTILS_USE_SDK']=1
+    os.environ['DISTUTILS_USE_SDK']='1'
     return
 
 msvc_on_amd64()



More information about the Numpy-svn mailing list