From: Ansgar Burchardt Date: Sun, 8 Jul 2012 20:55:03 +0000 (-0600) Subject: daklib/regexes.py: re_file_binary: arch names can have dashes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee83a95bf50f7e8fb8ec48a3e06c3f7f778d981;p=dak daklib/regexes.py: re_file_binary: arch names can have dashes --- diff --git a/daklib/regexes.py b/daklib/regexes.py index b734e9fa..a8107113 100755 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -145,7 +145,7 @@ _re_file_prefix = r'^(?P[a-z0-9][a-z0-9.+-]+)_(?P[A-Za-z0-9.:~ # Match binary packages # Groups: package, version, architecture, type -re_file_binary = re.compile(_re_file_prefix + r'_(?P[a-z0-9]+)\.(?Pu?deb)$') +re_file_binary = re.compile(_re_file_prefix + r'_(?P[a-z0-9-]+)\.(?Pu?deb)$') # Match changes files # Groups: package, version, suffix