From e5fd3dd111d34276aa705f8eac09494cda178c98 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Wed, 2 Dec 2009 20:24:48 +0100 Subject: 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 :) --- reprepro/conf/diffsonly.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'reprepro') 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") -- cgit v1.2.3