mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Support Build: indenting by tabs
This commit is contained in:
parent
dad4f496f0
commit
61a8466ed5
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user