summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@seanius.net>2009-12-02 20:52:07 +0100
committerSean Finney <seanius@seanius.net>2009-12-02 20:52:07 +0100
commit216a069108f534c993e52e7435c76db40c0e2568 (patch)
tree98c5cd28547e9188ec3b32612aa9017eea2ea0ff
parent4693d6a1c73931f0a12687000ab42bec86a7dd83 (diff)
downloadpatch-tracker-216a069108f534c993e52e7435c76db40c0e2568.tar.gz
allow for compression formats other than gz in the debian.tar files0.20091202_quilt-3.0
-rwxr-xr-xpatchtracker/SourceArchive.py2
-rwxr-xr-xreprepro/conf/diffsonly.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/patchtracker/SourceArchive.py b/patchtracker/SourceArchive.py
index c4a62cd..0cdeb10 100755
--- a/patchtracker/SourceArchive.py
+++ b/patchtracker/SourceArchive.py
@@ -129,7 +129,7 @@ class SourcePackage:
self.diffgz_size=f['size']
self.diffgz_md5sum=f['md5sum']
self.type = "Debian-diff"
- elif fnmatch(f['name'], '*.debian.tar.gz'):
+ elif fnmatch(f['name'], '*.debian.tar.*'):
self.debtar_name=f['name']
self.debtar_size=f['size']
self.debtar_md5sum=f['md5sum']
diff --git a/reprepro/conf/diffsonly.py b/reprepro/conf/diffsonly.py
index ad0a495..d2f02ea 100755
--- a/reprepro/conf/diffsonly.py
+++ b/reprepro/conf/diffsonly.py
@@ -35,7 +35,7 @@ if __name__ == '__main__':
newfiles = []
if ent.has_key(k):
for f in ent[k]:
- for wanted_glob in ['*.diff.gz', '*.dsc', '*.debian.tar.gz']:
+ for wanted_glob in ['*.diff.gz', '*.dsc', '*.debian.tar.*']:
if fnmatch(f['name'], wanted_glob):
newfiles.append(f)
ent[k] = newfiles