Allow spaces before/after field key names

This commit is contained in:
Daniel Martí committed 2013-09-11 01:07:51 +02:00
1 parent f19531e742
commit fba8fb839c
1 file changed
+1 -1
+1 -1
View File
@@ -451,7 +451,7 @@ def parse_metadata(metafile, **kw):
thisbuild['commit'] = parts[2]
for p in parts[3:]:
pk, pv = p.split('=', 1)
thisbuild[pk] = pv
thisbuild[pk.strip()] = pv
return thisbuild
def add_comments(key):