mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Revert "Allow for spaces before/after version and vercode"
This reverts commit ec5e12221f
.
This commit is contained in:
parent
ec5e12221f
commit
a5472d9b9a
1 changed files with 2 additions and 2 deletions
|
@ -466,8 +466,8 @@ def parse_metadata(metafile, verbose=False):
|
||||||
raise MetaDataException("Invalid build format: " + value + " in " + metafile.name)
|
raise MetaDataException("Invalid build format: " + value + " in " + metafile.name)
|
||||||
thisbuild = {}
|
thisbuild = {}
|
||||||
thisbuild['origlines'] = lines
|
thisbuild['origlines'] = lines
|
||||||
thisbuild['version'] = parts[0].strip()
|
thisbuild['version'] = parts[0]
|
||||||
thisbuild['vercode'] = parts[1].strip()
|
thisbuild['vercode'] = parts[1]
|
||||||
try:
|
try:
|
||||||
testvercode = int(thisbuild['vercode'])
|
testvercode = int(thisbuild['vercode'])
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue