chiark / gitweb /
Lint: don't complain if using tags and UCM is RM/branch
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 26 Jan 2014 19:42:47 +0000 (20:42 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 26 Jan 2014 19:42:47 +0000 (20:42 +0100)
fdroidserver/lint.py

index f9f55d2253b86da46ecf9156cdee89523875e7aa..df8104baae310724dfd44d0cb3fed37b962e6334 100644 (file)
@@ -88,7 +88,7 @@ def main():
                 lastcommit = build['commit']
 
         # Potentially incorrect UCM
-        if (app['Update Check Mode'].startswith('RepoManifest') and
+        if (app['Update Check Mode'] == 'RepoManifest' and
                 any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
             warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
                 lastcommit, app['Update Check Mode']))