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:
a546013
)
Don't require commit to be specified for a disabled build
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 28 Oct 2013 08:53:18 +0000
(08:53 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 28 Oct 2013 08:53:18 +0000
(08:53 +0000)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 4687d0cde0623c22e9846b08540b17e4308a45a0..60605b92d73546a65f3ceefbd3dfce22ab0cb68f 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-547,7
+547,7
@@
def parse_metadata(metafile, verbose=False):
line = line.rstrip('\r\n')
if mode == 3:
if not any(line.startswith(s) for s in (' ', '\t')):
- if 'commit' not in curbuild:
+ if 'commit' not in curbuild
and 'disable' not in curbuild
:
raise MetaDataException("No commit specified for {0} in {1}".format(
curbuild['version'], metafile.name))
thisinfo['builds'].append(curbuild)