]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Revert "naoki: Validate package directories."
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Feb 2010 19:35:20 +0000 (20:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Feb 2010 19:35:20 +0000 (20:35 +0100)
This reverts commit 7e774a27c69df36dafc00786370376fc78c18bfa.

naoki/package.py

index 3339479abdc2a0cdb95ae07abdcc0f290a38931b..3d0673f22152f09c4f73f95a3e590536b57cfca1 100644 (file)
@@ -30,10 +30,8 @@ def list(toolchain=None):
                                continue
 
                for package in os.listdir(os.path.join(PKGSDIR, dir)):
-                       path = os.path.join(PKGSDIR, dir, package)
-                       if not os.path.exists(os.path.join(path, package + ".nm")):
-                               continue
-                       pkgs.append(Package(path))
+                       package = os.path.join(dir, package)
+                       pkgs.append(Package(package))
 
        pkgs.sort()
        return pkgs