[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Also allow '-' in suffix of .buildinfo files



This matches what we allow to be used for .changes files in
re_file_changes.
---
 daklib/regexes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daklib/regexes.py b/daklib/regexes.py
index 8b548ce..40b4a74 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<suffix>[a-zA-Z0-9+]+)\.buildinfo$')
+re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P<suffix>[a-zA-Z0-9+-]+)\.buildinfo$')
 
 ######################################################################
 # Patterns matching fields                                           #
-- 
2.1.4


Reply to: