1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Lint: don't complain if using tags and UCM is RM/branch

This commit is contained in:
Daniel Martí 2014-01-26 20:42:47 +01:00
parent 0de1efeba4
commit cb11826929

View 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']))