[Numpy-svn] r4166 - branches/numpy.scons/numpy/distutils/scons

numpy-svn@scip... numpy-svn@scip...
Wed Oct 10 00:57:26 CDT 2007


Author: cdavid
Date: 2007-10-10 00:57:06 -0500 (Wed, 10 Oct 2007)
New Revision: 4166

Modified:
   branches/numpy.scons/numpy/distutils/scons/numpyenv.py
Log:
Correct suncc detection in scons env

Modified: branches/numpy.scons/numpy/distutils/scons/numpyenv.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-10 03:34:53 UTC (rev 4165)
+++ branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-10 05:57:06 UTC (rev 4166)
@@ -36,7 +36,7 @@
     cnt = out.read()
     st = out.close()
 
-    return not(st) and suncc.search(cnt)
+    return st == 0 and suncc.search(cnt)
 
 def GetNumpyOptions(args):
     """Call this with args=ARGUMENTS to take into account command line args."""



More information about the Numpy-svn mailing list