From: Thierry Parmentelat Date: Mon, 8 Sep 2008 13:47:07 +0000 (+0000) Subject: rpms keys had extra spce X-Git-Tag: PLCAPI-4.2-13~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1c65b11246c6b2b0503e9448ac683c4252b94e67;p=plcapi.git rpms keys had extra spce --- 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):