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

numpy-svn@scip... numpy-svn@scip...
Sat Jul 28 05:07:51 CDT 2007


Author: pearu
Date: 2007-07-28 05:07:47 -0500 (Sat, 28 Jul 2007)
New Revision: 3913

Modified:
   trunk/numpy/distutils/ccompiler.py
   trunk/numpy/distutils/misc_util.py
Log:
remove debug messages.

Modified: trunk/numpy/distutils/ccompiler.py
===================================================================
--- trunk/numpy/distutils/ccompiler.py	2007-07-28 10:07:12 UTC (rev 3912)
+++ trunk/numpy/distutils/ccompiler.py	2007-07-28 10:07:47 UTC (rev 3913)
@@ -371,7 +371,6 @@
 def gen_lib_options(compiler, library_dirs, runtime_library_dirs, libraries):
     library_dirs = quote_args(library_dirs)
     runtime_library_dirs = quote_args(runtime_library_dirs)
-    print 'gen_lib_options:',library_dirs, runtime_library_dirs
     r = _distutils_gen_lib_options(compiler, library_dirs,
                                    runtime_library_dirs, libraries)
     lib_opts = []

Modified: trunk/numpy/distutils/misc_util.py
===================================================================
--- trunk/numpy/distutils/misc_util.py	2007-07-28 10:07:12 UTC (rev 3912)
+++ trunk/numpy/distutils/misc_util.py	2007-07-28 10:07:47 UTC (rev 3913)
@@ -26,13 +26,11 @@
 
 def quote_args(args):
     # don't used _nt_quote_args as it does not check if
-    # args items already have quotes.
+    # args items already have quotes or not.
     args = list(args)
     for i in range(len(args)):
         a = args[i]
-        if is_sequence(a):
-            args[i] = quote_args(a)
-        elif ' ' in a and a[0] not in '"\'':
+        if ' ' in a and a[0] not in '"\'':
             args[i] = '"%s"' % (a)
     return args
 



More information about the Numpy-svn mailing list