summaryrefslogtreecommitdiff
path: root/reprepro/conf/diffsonly.py
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2009-09-03 10:42:29 +0200
committerSean Finney <seanius@debian.org>2009-09-03 10:42:29 +0200
commitdcd25ab75c1288eb7f350efebe36dab160501595 (patch)
treea02caec74c3c27d7784d64ca0a7c25f844778208 /reprepro/conf/diffsonly.py
parent422cbf95d4340fa7d007de7e47a51288c88b7ddd (diff)
downloadpatch-tracker-dcd25ab75c1288eb7f350efebe36dab160501595.tar.gz
add extra indicator config variable for compressed lists file.
Diffstat (limited to 'reprepro/conf/diffsonly.py')
-rwxr-xr-xreprepro/conf/diffsonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reprepro/conf/diffsonly.py b/reprepro/conf/diffsonly.py
index 286d367..e37b911 100755
--- a/reprepro/conf/diffsonly.py
+++ b/reprepro/conf/diffsonly.py
@@ -17,7 +17,7 @@ if __name__ == '__main__':
inf = sys.argv[1]
fh = None
slist = []
- if fnmatch(inf, "*.gz"):
+ if fnmatch(inf, "*.gz") or Conf.archive_lists_compressed:
fh = GzipFile(inf)
else:
fh = file(inf)