From 8627357cd9ccf6f4203f90da82da021947afe103 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Mon, 28 Oct 2013 08:53:18 +0000 Subject: [PATCH] Don't require commit to be specified for a disabled build --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 4687d0cd..60605b92 100644 --- 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)