mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02: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('!'):
|
if parts[2].startswith('!'):
|
||||||
# For backwards compatibility, handle old-style disabling,
|
# For backwards compatibility, handle old-style disabling,
|
||||||
# including attempting to extract the commit from the message
|
# including attempting to extract the commit from the message
|
||||||
thisbuild['disable'] = parts[2]
|
thisbuild['disable'] = parts[2][1:]
|
||||||
commit = 'unknown - see disabled'
|
commit = 'unknown - see disabled'
|
||||||
index = parts[2].rfind('at ')
|
index = parts[2].rfind('at ')
|
||||||
if index != -1:
|
if index != -1:
|
||||||
|
Loading…
Reference in New Issue
Block a user