From 067ec886fe688bf21a46d7a269a4468147cc5216 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 24 Apr 2008 04:30:00 +0000 Subject: [PATCH] more flexible on branch names --- module-tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-tools.py b/module-tools.py index a380919d..f00666a3 100755 --- a/module-tools.py +++ b/module-tools.py @@ -150,7 +150,7 @@ class Module: # for parsing module spec name:branch - matcher_branch_spec=re.compile("\A(?P[\w-]+):(?P[\w\.]+)\Z") + matcher_branch_spec=re.compile("\A(?P[\w-]+):(?P[\w\.-]+)\Z") matcher_rpm_define=re.compile("%(define|global)\s+(\S+)\s+(\S*)\s*") def __init__ (self,module_spec,options): -- 2.43.0