From 61a8466ed5a3a9b766ee8c66ec19b6ad529181e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 27 Oct 2013 22:16:41 +0100 Subject: [PATCH] Support Build: indenting by tabs --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 6a6ed953..c5ef55c0 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -546,7 +546,7 @@ def parse_metadata(metafile, verbose=False): for line in metafile: line = line.rstrip('\r\n') if mode == 3: - if not line.startswith(' '): + if not any(line.startswith(s) for s in (' ', '\t')): if 'commit' not in curbuild: raise MetaDataException("No commit specified for {0} in {1}".format( curbuild['version'], metafile.name))