Commit 8993f8e3 authored by Seblu's avatar Seblu
Browse files

Add rar, lz4, zst and 7z to regex_ext

parent f1ad4a18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ class VersionController(object):
                    value.get("regex_split", r"[-_]v?"),
                    value.get("regex_version", r"\d+[-.\w]*"),
                    value.get("regex_ext",
                              r"\.(?:tar(?:\.gz|\.bz2|\.xz)?|tgz|tbz2|zip|zst)")))
                              r"\.(?:tar(?:\.(?:gz|bz2|xz|zst|lz4))?|tgz|tbz2|zip|rar|7z)")))
        # retrieve config timeout
        timeout = float(value["timeout"]) if "timeout" in value else None
        # do it retry time + 1