[Numpy-svn] r5060 - trunk/numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Mon Apr 21 05:54:05 CDT 2008


Author: cdavid
Date: 2008-04-21 05:54:01 -0500 (Mon, 21 Apr 2008)
New Revision: 5060

Modified:
   trunk/numpy/distutils/command/scons.py
Log:
Do not show the whole scons command for silent modes.

Modified: trunk/numpy/distutils/command/scons.py
===================================================================
--- trunk/numpy/distutils/command/scons.py	2008-04-21 10:24:50 UTC (rev 5059)
+++ trunk/numpy/distutils/command/scons.py	2008-04-21 10:54:01 UTC (rev 5060)
@@ -326,7 +326,10 @@
                     cmd.append('-s')
             cmd.append('silent=%d' % int(self.silent))
             cmdstr = ' '.join(cmd)
-            log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
+            if int(self.silent) < 1:
+                log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
+            else:
+                log.info("Executing scons command for pkg %s", pkg_name)
             st = os.system(cmdstr)
             if st:
                 print "status is %d" % st



More information about the Numpy-svn mailing list