mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 10:30:13 +01:00
Don't include '!' in disabled= when converting to new syntax
This commit is contained in:
parent
5455576b6b
commit
fd50903c50
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user