mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Support Build: indenting by tabs
This commit is contained in:
parent
dad4f496f0
commit
61a8466ed5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue