[dak/master] daklib/regexes.py: re_file_binary: arch names can have dashes
---
daklib/regexes.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/regexes.py b/daklib/regexes.py
index b734e9f..a810711 100755
--- a/daklib/regexes.py
+++ b/daklib/regexes.py
@@ -145,7 +145,7 @@ _re_file_prefix = r'^(?P<package>[a-z0-9][a-z0-9.+-]+)_(?P<version>[A-Za-z0-9.:~
# Match binary packages
# Groups: package, version, architecture, type
-re_file_binary = re.compile(_re_file_prefix + r'_(?P<architecture>[a-z0-9]+)\.(?P<type>u?deb)$')
+re_file_binary = re.compile(_re_file_prefix + r'_(?P<architecture>[a-z0-9-]+)\.(?P<type>u?deb)$')
# Match changes files
# Groups: package, version, suffix
--
1.7.2.5
Reply to: