r313 - in branches/rewrite: . src

Otavio Salvador partial-mirror-devel@lists.alioth.debian.org
Sun, 14 Nov 2004 09:01:22 -0700


Author: otavio
Date: Sun Nov 14 09:01:21 2004
New Revision: 313

Modified:
   branches/rewrite/   (props changed)
   branches/rewrite/src/FileSystem.py
Log:
 r265@nurf:  otavio | 2004-11-14T15:58:51.501048Z
 Does not change the provide filename.


Modified: branches/rewrite/src/FileSystem.py
==============================================================================
--- branches/rewrite/src/FileSystem.py	(original)
+++ branches/rewrite/src/FileSystem.py	Sun Nov 14 09:01:21 2004
@@ -88,12 +88,11 @@
 
     def uncompress (self, f):
         """Uncompress a file"""
-        filename = os.path.join (self._dir, f)
-        print 'Uncompressing', filename
+        print 'Uncompressing', f
         # uncompress the file
-        compressedFile = gzip.GzipFile(filename, 'rb')
+        compressedFile = gzip.GzipFile(f, 'rb')
         try:
-            outputFile = open(filename.split('.gz')[0], "wb")
+            outputFile = open(f.split('.gz')[0], "wb")
         except IOError, msg:
             print msg
             sys.exit(1)