summaryrefslogtreecommitdiff
path: root/reprepro
diff options
context:
space:
mode:
authorSean Finney <seanius@seanius.net>2009-12-02 20:24:48 +0100
committerSean Finney <seanius@seanius.net>2009-12-02 20:24:48 +0100
commite5fd3dd111d34276aa705f8eac09494cda178c98 (patch)
treeb36476974d180210253237f8968803bc0f717780 /reprepro
parent11db52a1fedf54f728a9c7f6a890c1bc6d28bd7c (diff)
downloadpatch-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-xreprepro/conf/diffsonly.py5
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")