svn keywords
[plcapi.git] / PLC / Methods / GetPlcRelease.py
index d35df13..9f4ca94 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Method import Method
 from PLC.Auth import Auth
 from PLC.Faults import *
@@ -8,7 +10,8 @@ comment_regexp = '\A\s*#.|\A\s*\Z|\Axxxxx'
 
 regexps = { 'build'   : '\A[bB]uild\s+(?P<key>[^:]+)\s*:\s*(?P<value>.*)\Z',
            'tags'    : '\A(?P<key>[^:]+)\s*:=\s*(?P<value>.*)\Z',
-            'rpms'    : '\A(?P<key>[^:]+)\s*::\s*(?P<value>.*)\Z',
+# spaces not part of key : ungreedy
+            'rpms'    : '\A(?P<key>[^:]+?)\s*::\s*(?P<value>.*)\Z',
 }
 
 class GetPlcRelease(Method):