]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/regexes.py
Python modules should not be executable
[dak.git] / daklib / regexes.py
old mode 100755 (executable)
new mode 100644 (file)
index b734e9f..a810711
@@ -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