diff options
-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 |