summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-06-28 14:32:24 +0200
committerSean Finney <seanius@debian.org>2008-06-28 14:32:24 +0200
commit3d4d8cd2525da3bf226e30c7c825b79691bf7235 (patch)
tree7eea27081f2253b5b9414af6f6254670c55397af
parent93e3ce92e820f104caf66573375078dec23edd38 (diff)
downloadpatch-tracker-3d4d8cd2525da3bf226e30c7c825b79691bf7235.tar.gz
properly filter on suite/pkg when creating Archive
-rwxr-xr-xgen-patch-info.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gen-patch-info.py b/gen-patch-info.py
index 07d753a..2efe0a1 100755
--- a/gen-patch-info.py
+++ b/gen-patch-info.py
@@ -21,9 +21,7 @@ if __name__ == '__main__':
elif o == "-p":
packages = v.split(',')
- a = Archive(Conf.archive_root)
- # just for now until development stablizes
- #os.system("rm -rf "+Conf.output_dir)
+ a = Archive(Conf.archive_root, suitefilter=suites, pkgfilter=packages)
try:
os.mkdir(Conf.output_dir)
except OSError, e: