[Scipy-svn] r2797 - trunk/Lib/weave

scipy-svn@scip... scipy-svn@scip...
Wed Feb 28 20:49:58 CST 2007


Author: timl
Date: 2007-02-28 20:49:48 -0600 (Wed, 28 Feb 2007)
New Revision: 2797

Modified:
   trunk/Lib/weave/ext_tools.py
Log:
small cleanup

Modified: trunk/Lib/weave/ext_tools.py
===================================================================
--- trunk/Lib/weave/ext_tools.py	2007-02-28 22:32:44 UTC (rev 2796)
+++ trunk/Lib/weave/ext_tools.py	2007-03-01 02:49:48 UTC (rev 2797)
@@ -376,13 +376,13 @@
     """
     file_changed = 1
     if os.path.exists(module_file):
-        f =open(module_file,'r')
+        f = open(module_file,'r')
         old_string = f.read()
         f.close()
         if old_string == module_string:
             file_changed = 0
     if file_changed:
-        f =open(module_file,'w')
+        f = open(module_file,'w')
         f.write(module_string)
         f.close()
     return module_file



More information about the Scipy-svn mailing list