diff options
Diffstat (limited to 'RepSys/binrepo.py')
-rw-r--r--[-rwxr-xr-x] | RepSys/binrepo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py index edca9a4..1298e35 100755..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) @@ -297,6 +297,7 @@ def update_sources(topdir, added=[], removed=[]): def update_sources_threaded(*args, **kwargs): t = threading.Thread(target=update_sources, args=args, kwargs=kwargs) t.start() + t.join() return t def upload(path, message=None): |