mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Allow spaces before/after field key names
This commit is contained in:
parent
f19531e742
commit
fba8fb839c
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ def parse_metadata(metafile, **kw):
|
||||||
thisbuild['commit'] = parts[2]
|
thisbuild['commit'] = parts[2]
|
||||||
for p in parts[3:]:
|
for p in parts[3:]:
|
||||||
pk, pv = p.split('=', 1)
|
pk, pv = p.split('=', 1)
|
||||||
thisbuild[pk] = pv
|
thisbuild[pk.strip()] = pv
|
||||||
return thisbuild
|
return thisbuild
|
||||||
|
|
||||||
def add_comments(key):
|
def add_comments(key):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue