From 8ee83a95bf50f7e8fb8ec48a3e06c3f7f778d981 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 8 Jul 2012 14:55:03 -0600 Subject: [PATCH] daklib/regexes.py: re_file_binary: arch names can have dashes --- daklib/regexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5