aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-04 23:34:58 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-04 23:34:58 +0000
commit202f36e9168e38a7dde66b77a67e5624c7af6708 (patch)
tree642feef7c6757ff3ddde59234cf8a1a52a6468c7 /RepSys
parent88a840788e82289d417983acf4b49f2c2778296d (diff)
downloadmgarepo-202f36e9168e38a7dde66b77a67e5624c7af6708.tar
mgarepo-202f36e9168e38a7dde66b77a67e5624c7af6708.tar.gz
mgarepo-202f36e9168e38a7dde66b77a67e5624c7af6708.tar.bz2
mgarepo-202f36e9168e38a7dde66b77a67e5624c7af6708.tar.xz
mgarepo-202f36e9168e38a7dde66b77a67e5624c7af6708.zip
add .xz files belonging in binrepo (patch from tmb)
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/binrepo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py
index ad14665..1298e35 100644
--- a/RepSys/binrepo.py
+++ b/RepSys/binrepo.py
@@ -107,7 +107,7 @@ def is_binary(path):
raw = config.get("binrepo", "upload-match",
"\.(7z|Z|bin|bz2|cpio|db|deb|egg|gem|gz|jar|jisp|lzma|"\
"pdf|pgn\\.gz|pk3|rpm|rpm|run|sdz|smzip|tar|tbz|"\
- "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|zip)$")
+ "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip)$")
maxsize = config.getint("binrepo", "upload-match-size", "1048576") # 1MiB
expr = re.compile(raw)
name = os.path.basename(path)