diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-01-10 12:41:12 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-01-10 12:41:12 +0000 |
commit | 715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a (patch) | |
tree | 83f8da10d983b60e0d13c97a53ab12b1fc2eb770 | |
parent | b01549f07cbd75c71270117ef003cba1d16d08b7 (diff) | |
download | mgarepo-715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a.tar mgarepo-715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a.tar.gz mgarepo-715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a.tar.bz2 mgarepo-715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a.tar.xz mgarepo-715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a.zip |
PNG is a binary file
-rw-r--r-- | RepSys/binrepo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py index a978b51..4035128 100644 --- a/RepSys/binrepo.py +++ b/RepSys/binrepo.py @@ -106,7 +106,7 @@ def translate_topdir(path): 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|"\ + "pdf|pgn\\.gz|pk3|png|rpm|run|sdz|smzip|tar|tbz|"\ "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip|wav|mp3|ogg|"\ "jpg|png|gif|avi|mpg|mpeg|rar)$") maxsize = config.getint("binrepo", "upload-match-size", "1048576") # 1MiB |