1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +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'] lastcommit = build['commit']
# Potentially incorrect UCM # 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 ('.', ',', '_', '-', '/'))): any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % ( warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
lastcommit, app['Update Check Mode'])) lastcommit, app['Update Check Mode']))