mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-04 11:24:46 -04:00
Don't require commit to be specified for a disabled build
This commit is contained in:
1 parent
a546013756
commit
8627357cd9
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user