]> git.decadent.org.uk Git - dak.git/commitdiff
Remove unused regular expression.
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Aug 2015 19:44:02 +0000 (21:44 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Aug 2015 19:44:02 +0000 (21:44 +0200)
daklib/regexes.py
daklib/utils.py

index 86ca6a9595fee41980dc618cef4321e71af7d589..adc5b24b509828df291f81c2f21c8f1e17a5e91f 100644 (file)
@@ -51,8 +51,6 @@ orig_source_ext_re = r"orig(?:-.+)?\.tar\.(?:gz|bz2|xz)"
 re_orig_source_ext = re.compile(orig_source_ext_re + "$")
 re_source_ext = re.compile("(" + orig_source_ext_re + r"|debian\.tar\.(?:gz|bz2|xz)|diff\.gz|tar\.(?:gz|bz2|xz)|dsc)$")
 re_issource = re.compile(r"(.+)_(.+?)\." + re_source_ext.pattern)
-re_is_orig_source = re.compile (r"(.+)_(.+?)\.orig(?:-.+)?\.tar\.(?:gz|bz2|xz)$")
-#re_is_orig_source = re.compile (r"(.+)_(.+?)\.(?:orig\.)?tar\.(?:gz|bz2)$")
 
 re_single_line_field = re.compile(r"^(\S*?)\s*:\s*(.*)")
 re_multi_line_field = re.compile(r"^\s(.*)")
index d33ec308366415e874cf2dc1383a63666f5cfeb2..2cf6871c092e60089cda94ef72cde857231cef53 100644 (file)
@@ -59,7 +59,7 @@ from textutils import fix_maintainer
 from regexes import re_html_escaping, html_escaping, re_single_line_field, \
                     re_multi_line_field, re_srchasver, re_taint_free, \
                     re_re_mark, re_whitespace_comment, re_issource, \
-                    re_is_orig_source, re_build_dep_arch, re_parse_maintainer
+                    re_build_dep_arch, re_parse_maintainer
 
 from formats import parse_format, validate_changes_format
 from srcformats import get_format_from_string