diff options
author | Sean Finney <seanius@seanius.net> | 2009-12-02 20:52:07 +0100 |
---|---|---|
committer | Sean Finney <seanius@seanius.net> | 2009-12-02 20:52:07 +0100 |
commit | 216a069108f534c993e52e7435c76db40c0e2568 (patch) | |
tree | 98c5cd28547e9188ec3b32612aa9017eea2ea0ff | |
parent | 4693d6a1c73931f0a12687000ab42bec86a7dd83 (diff) | |
download | patch-tracker-216a069108f534c993e52e7435c76db40c0e2568.tar.gz |
allow for compression formats other than gz in the debian.tar files0.20091202_quilt-3.0
-rwxr-xr-x | patchtracker/SourceArchive.py | 2 | ||||
-rwxr-xr-x | reprepro/conf/diffsonly.py | 2 |
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 |