diff options
Diffstat (limited to 'reprepro/conf/diffsonly.py')
-rwxr-xr-x | reprepro/conf/diffsonly.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reprepro/conf/diffsonly.py b/reprepro/conf/diffsonly.py index e37b911..ad0a495 100755 --- a/reprepro/conf/diffsonly.py +++ b/reprepro/conf/diffsonly.py @@ -35,8 +35,9 @@ if __name__ == '__main__': newfiles = [] if ent.has_key(k): for f in ent[k]: - if fnmatch(f['name'], '*.diff.gz') or fnmatch(f['name'], '*.dsc'): - newfiles.append(f) + for wanted_glob in ['*.diff.gz', '*.dsc', '*.debian.tar.gz']: + if fnmatch(f['name'], wanted_glob): + newfiles.append(f) ent[k] = newfiles outf.write(str(ent)) outf.write("\n") |