mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Don't include '!' in disabled= when converting to new syntax
This commit is contained in:
parent
5455576b6b
commit
fd50903c50
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue