]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Don't download patches.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 20:36:25 +0000 (21:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 20:36:25 +0000 (21:36 +0100)
naoki/package.py

index 0e144b07f78edccb38a50c3b2a43427bfda04fe0..3d0673f22152f09c4f73f95a3e590536b57cfca1 100644 (file)
@@ -62,8 +62,7 @@ def download(file, type):
                return
 
        dirs = {
-               "object" : TARBALLDIR,
-               "patch"  : PATCHESDIR,
+               "tarball" : TARBALLDIR,
        }
        filepath = os.path.join(dirs[type], file)
        if os.path.exists(filepath):
@@ -209,9 +208,7 @@ Patches     :
 
        def download(self):
                for object in self.objects:
-                       download(object, type="object")
-               for patch in self.patches:
-                       download(patch, type="patch")
+                       download(object, type="tarball")
 
        @property
        def fingerprint(self):