mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
srclib: no spaces in dict key
This commit is contained in:
parent
c6a97939f1
commit
2c86d38028
3 changed files with 7 additions and 4 deletions
|
@ -731,6 +731,9 @@ def parse_txt_srclib(metadatapath):
|
||||||
except ValueError:
|
except ValueError:
|
||||||
warn_or_exception(_("Invalid metadata in %s:%d") % (line, n))
|
warn_or_exception(_("Invalid metadata in %s:%d") % (line, n))
|
||||||
|
|
||||||
|
# collapse whitespaces in field names
|
||||||
|
f = f.replace(' ', '')
|
||||||
|
|
||||||
if f == "Subdir":
|
if f == "Subdir":
|
||||||
thisinfo[f] = v.split(',')
|
thisinfo[f] = v.split(',')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue