chiark / gitweb /
Don't include '!' in disabled= when converting to new syntax
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 29 Oct 2013 12:36:06 +0000 (13:36 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 29 Oct 2013 12:36:06 +0000 (13:36 +0100)
fdroidserver/common.py

index a05f1811da2eb5e799a0f4969b2b8807173c5d3c..53021e9e8092292c59b6eb9f780e559aa3581431 100644 (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: