From: Matthias Klumpp Date: Tue, 8 Dec 2015 20:50:46 +0000 (+0100) Subject: Adjust the regexes used for DEP-11 files X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=15ce141215d62c562254793cf5db541779b88bb7;p=dak.git Adjust the regexes used for DEP-11 files --- diff --git a/daklib/regexes.py b/daklib/regexes.py index 0a2045d0..ae8fd91d 100644 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -102,7 +102,7 @@ re_parse_lintian = re.compile(r"^(?PW|E|O): (?P.*?): (?P[^ # in generate-releases re_gensubrelease = re.compile (r".*/(binary-[0-9a-z-]+|source)$") -re_includeinrelease = re.compile (r"(Translation-[a-zA-Z_]+\.(?:bz2|xz)|Contents-[0-9a-z-]+.gz|Index|Packages(.gz|.bz2|.xz)?|Sources(.gz|.bz2|.xz)?|Components-[0-9a-z-]+(.gz|.xz)|icons-[0-9x-]+(.gz|.xz)|MD5SUMS|SHA256SUMS|Release)$") +re_includeinrelease = re.compile (r"(Translation-[a-zA-Z_]+\.(?:bz2|xz)|Contents-[0-9a-z-]+.gz|Index|Packages(.gz|.bz2|.xz)?|Sources(.gz|.bz2|.xz)?|Components-[0-9a-z-]+.yml(.gz|.xz)|icons-[0-9x-]+.tar(.gz|.xz)|MD5SUMS|SHA256SUMS|Release)$") # in generate_index_diffs re_includeinpdiff = re.compile(r"(Translation-[a-zA-Z_]+\.(?:bz2|xz))")