1
0
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:
Daniel Martí 2013-10-27 22:43:24 +01:00
parent ec5e12221f
commit a5472d9b9a

View File

@ -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: