[Numpy-svn] r3866 - trunk/numpy/distutils/fcompiler

numpy-svn@scip... numpy-svn@scip...
Fri Jun 8 02:32:23 CDT 2007


Author: pearu
Date: 2007-06-08 02:32:05 -0500 (Fri, 08 Jun 2007)
New Revision: 3866

Modified:
   trunk/numpy/distutils/fcompiler/__init__.py
Log:
use get_flags_version to set version cmd flags.

Modified: trunk/numpy/distutils/fcompiler/__init__.py
===================================================================
--- trunk/numpy/distutils/fcompiler/__init__.py	2007-06-08 06:29:34 UTC (rev 3865)
+++ trunk/numpy/distutils/fcompiler/__init__.py	2007-06-08 07:32:05 UTC (rev 3866)
@@ -425,7 +425,8 @@
         # methods may call self.get_version.
         vers_cmd = self.command_vars.version_cmd
         if vers_cmd:
-            vflags = self.flag_vars.version
+            vflags = self.get_flags_version()
+            assert None not in vflags,`vflags`
             self.set_executables(version_cmd=[vers_cmd]+vflags)
 
         f77flags = []



More information about the Numpy-svn mailing list