From: Daniel Martí Date: Sun, 26 Jan 2014 19:42:47 +0000 (+0100) Subject: Lint: don't complain if using tags and UCM is RM/branch X-Git-Tag: 0.2~365 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cb11826929cf3a4403b7c778dfbe8ffe3d45c7c0;p=fdroidserver.git Lint: don't complain if using tags and UCM is RM/branch --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index f9f55d22..df8104ba 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -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']))