mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Revert "Allow for spaces before/after version and vercode"
This reverts commit ec5e12221f
.
This commit is contained in:
parent
ec5e12221f
commit
a5472d9b9a
@ -466,8 +466,8 @@ def parse_metadata(metafile, verbose=False):
|
||||
raise MetaDataException("Invalid build format: " + value + " in " + metafile.name)
|
||||
thisbuild = {}
|
||||
thisbuild['origlines'] = lines
|
||||
thisbuild['version'] = parts[0].strip()
|
||||
thisbuild['vercode'] = parts[1].strip()
|
||||
thisbuild['version'] = parts[0]
|
||||
thisbuild['vercode'] = parts[1]
|
||||
try:
|
||||
testvercode = int(thisbuild['vercode'])
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user