X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=94b7cc53eb0db048090feb7b6afe88b057547ab6;hb=7f7f54ceba3b63e0aa495fc1448dce9818ff320e;hp=0d22bd1d236ec11b6ccf88c9632f5dd72d95bd68;hpb=df2a04bb5eb1f3398f61fef7139f267e430dc188;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 0d22bd1d..94b7cc53 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -46,6 +46,8 @@ re_gpg_uid = re.compile('^uid.*<([^>]*)>') re_srchasver = re.compile(r"^(\S+)\s+\((\S+)\)$") re_verwithext = re.compile(r"^(\d+)(?:\.(\d+))(?:\s+\((\S+)\))?$") +re_srchasver = re.compile(r"^(\S+)\s+\((\S+)\)$") + changes_parse_error_exc = "Can't parse line in .changes file" invalid_dsc_format_exc = "Invalid .dsc file" nk_format_exc = "Unknown Format: in .changes file"