X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=module-tools.py;h=f00666a38ffd1437829e6046b158d5886142116d;hb=067ec886fe688bf21a46d7a269a4468147cc5216;hp=a380919d356c097ffa621491f6ba2767b6443780;hpb=89c3f78f8af67592500d8812ee1ea9b2877ea1cd;p=build.git 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):