From: Thierry Parmentelat Date: Thu, 24 Apr 2008 04:30:00 +0000 (+0000) Subject: more flexible on branch names X-Git-Tag: 4.2-rc2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=067ec886fe688bf21a46d7a269a4468147cc5216;p=build.git more flexible on branch names --- 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):