chiark / gitweb /
Don't run lint on disabled apps
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 23 Jan 2014 09:54:32 +0000 (10:54 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 23 Jan 2014 09:54:32 +0000 (10:54 +0100)
fdroidserver/lint.py

index 501532fdc289df31d5ac66103309bc8c443a66e9..1142818a40931893cc78503a6190b1fbd8fc8135 100644 (file)
@@ -80,6 +80,9 @@ def main():
         appid = app['id']
         lastcommit = ''
 
+        if app['Disabled']:
+            continue
+
         for build in app['builds']:
             if 'commit' in build and 'disable' not in build:
                 lastcommit = build['commit']