1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Don't include '!' in disabled= when converting to new syntax

This commit is contained in:
Daniel Martí 2013-10-29 13:36:06 +01:00
parent 5455576b6b
commit fd50903c50

View File

@ -475,7 +475,7 @@ def parse_metadata(metafile, verbose=False):
if parts[2].startswith('!'):
# For backwards compatibility, handle old-style disabling,
# including attempting to extract the commit from the message
thisbuild['disable'] = parts[2]
thisbuild['disable'] = parts[2][1:]
commit = 'unknown - see disabled'
index = parts[2].rfind('at ')
if index != -1: