[Numpy-svn] r8327 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Mon Apr 12 18:34:55 CDT 2010


Author: charris
Date: 2010-04-12 18:34:55 -0500 (Mon, 12 Apr 2010)
New Revision: 8327

Modified:
   trunk/numpy/core/memmap.py
Log:
BUG: Need to use os.path.abspath on file handle name also.

Modified: trunk/numpy/core/memmap.py
===================================================================
--- trunk/numpy/core/memmap.py	2010-04-12 23:11:40 UTC (rev 8326)
+++ trunk/numpy/core/memmap.py	2010-04-12 23:34:55 UTC (rev 8327)
@@ -237,7 +237,7 @@
         if isinstance(filename, basestring):
             self.filename = os.path.abspath(filename)
         elif hasattr(filename, "name"):
-            self.filename = filename.name
+            self.filename = os.path.abspath(filename.name)
 
         return self
 



More information about the Numpy-svn mailing list