diff options
author | Sean Finney <seanius@seanius.net> | 2009-12-02 20:24:48 +0100 |
---|---|---|
committer | Sean Finney <seanius@seanius.net> | 2009-12-02 20:24:48 +0100 |
commit | e5fd3dd111d34276aa705f8eac09494cda178c98 (patch) | |
tree | b36476974d180210253237f8968803bc0f717780 /reprepro | |
parent | 11db52a1fedf54f728a9c7f6a890c1bc6d28bd7c (diff) | |
download | patch-tracker-e5fd3dd111d34276aa705f8eac09494cda178c98.tar.gz |
initial support for source package format 3.0 (quilt)
the changes aren't as pretty as i'd like them to be, but i don't want
to hold things up on mere aesthetic grounds and it seems to work anyway :)
Diffstat (limited to 'reprepro')
-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") |