r314 - in branches/rewrite: . src

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


Author: otavio
Date: Sun Nov 14 09:01:58 2004
New Revision: 314

Modified:
   branches/rewrite/   (props changed)
   branches/rewrite/src/Dists.py
Log:
 r266@nurf:  otavio | 2004-11-14T16:00:15.925273Z
 Uncompress files when pass it.


Modified: branches/rewrite/src/Dists.py
==============================================================================
--- branches/rewrite/src/Dists.py	(original)
+++ branches/rewrite/src/Dists.py	Sun Nov 14 09:01:58 2004
@@ -79,7 +79,8 @@
         self.__fill_files()
         for url, f in self.__files:
             if os.path.basename(str(f)) != "Release":
-                files.append(str(f))
+                self._dir.uncompress(f)
+                files.append(str(f.split('.gz')[0]))
         return files
 
 class RemoteDists (Dists):