From: Thierry Parmentelat Date: Wed, 10 Sep 2008 13:19:01 +0000 (+0000) Subject: fix getplcrelease in onelab branch too X-Git-Tag: PLCAPI-dummynet-10~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d081b13f3314dd3712ad8e2da58c4727b53bea9a;p=plcapi.git fix getplcrelease in onelab branch too --- diff --git a/PLC/Methods/GetPlcRelease.py b/PLC/Methods/GetPlcRelease.py index d35df13c..b7d238f5 100644 --- a/PLC/Methods/GetPlcRelease.py +++ b/PLC/Methods/GetPlcRelease.py @@ -8,7 +8,8 @@ comment_regexp = '\A\s*#.|\A\s*\Z|\Axxxxx' regexps = { 'build' : '\A[bB]uild\s+(?P[^:]+)\s*:\s*(?P.*)\Z', 'tags' : '\A(?P[^:]+)\s*:=\s*(?P.*)\Z', - 'rpms' : '\A(?P[^:]+)\s*::\s*(?P.*)\Z', +# spaces not part of key : ungreedy + 'rpms' : '\A(?P[^:]+?)\s*::\s*(?P.*)\Z', } class GetPlcRelease(Method):