[Mageia-sysadm] [252] add other extentions for binary files
root at mageia.org
root at mageia.org
Sat Jan 8 17:58:12 CET 2011
Revision: 252
Author: boklm
Date: 2011-01-08 17:58:12 +0100 (Sat, 08 Jan 2011)
Log Message:
-----------
add other extentions for binary files
Modified Paths:
--------------
build_system/mgarepo/trunk/RepSys/binrepo.py
Modified: build_system/mgarepo/trunk/RepSys/binrepo.py
===================================================================
--- build_system/mgarepo/trunk/RepSys/binrepo.py 2011-01-08 00:00:32 UTC (rev 251)
+++ build_system/mgarepo/trunk/RepSys/binrepo.py 2011-01-08 16:58:12 UTC (rev 252)
@@ -107,7 +107,8 @@
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|xz|zip)$")
+ "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip|wav|mp3|ogg|"\
+ "jpg|png|gif)$")
maxsize = config.getint("binrepo", "upload-match-size", "1048576") # 1MiB
expr = re.compile(raw)
name = os.path.basename(path)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110108/2617fa12/attachment-0001.html>
More information about the Mageia-sysadm
mailing list