blob: 9fc7f396878074ff114555333c2bad469f90aa6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: trunk/RepSys/binrepo.py
===================================================================
--- trunk/RepSys/binrepo.py (revision 205)
+++ trunk/RepSys/binrepo.py (arbetskopia)
@@ -107,7 +107,7 @@
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)
|