From a5472d9b9a651727ed93fc356748674e0a8c02f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 27 Oct 2013 22:43:24 +0100 Subject: [PATCH] Revert "Allow for spaces before/after version and vercode" This reverts commit ec5e12221ffca7f6b4b4ed436f6f9301f3ff7d0e. --- fdroidserver/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 51fcfa62..c5ef55c0 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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: