From: Ansgar Burchardt Date: Thu, 31 Dec 2015 11:31:56 +0000 (+0100) Subject: Also allow '-' in suffix of .buildinfo files X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=57914a116c9e4dcb4109972ae40782710db0695c;p=dak.git Also allow '-' in suffix of .buildinfo files This matches what we allow to be used for .changes files in re_file_changes. --- diff --git a/daklib/regexes.py b/daklib/regexes.py index 8b548ce9..40b4a741 100644 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -143,7 +143,7 @@ re_file_orig = re.compile(_re_file_prefix + r'\.orig(?:-[a-zA-Z0-9-]+)?(?:\.tar\ # Match buildinfo file # Groups: package, version, suffix -re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P[a-zA-Z0-9+]+)\.buildinfo$') +re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P[a-zA-Z0-9+-]+)\.buildinfo$') ###################################################################### # Patterns matching fields #