chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad4f49
)
Support Build: indenting by tabs
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 27 Oct 2013 21:16:41 +0000
(22:16 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 27 Oct 2013 21:16:41 +0000
(22:16 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 6a6ed953e4a1b48d63d449d056cb85afd27a2137..c5ef55c0263aff531a91264c9844afd738f90b5a 100644
(file)
--- 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))