From 4f7884d84ba4948d4df1ec94f679530a37e16591 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 9 Jan 2011 01:58:50 +0000 Subject: add more binary files extentions --- RepSys/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py index d1768ea..a978b51 100644 --- a/RepSys/binrepo.py +++ b/RepSys/binrepo.py @@ -108,7 +108,7 @@ def is_binary(path): "\.(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|wav|mp3|ogg|"\ - "jpg|png|gif)$") + "jpg|png|gif|avi|mpg|mpeg|rar)$") maxsize = config.getint("binrepo", "upload-match-size", "1048576") # 1MiB expr = re.compile(raw) name = os.path.basename(path) -- cgit v1.2.1