From: Daniel Martí Date: Mon, 20 Jan 2014 11:18:50 +0000 (+0100) Subject: Also warn if UCM is None when using tags in commit= X-Git-Tag: 0.2~386 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6d23119fae27bc3a1bf41c9b1df8736e38f9b7dc;p=fdroidserver.git Also warn if UCM is None when using tags in commit= --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 1e80cc5b..501532fd 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -85,9 +85,10 @@ def main(): lastcommit = build['commit'] # Potentially incorrect UCM - if (app['Update Check Mode'] == 'RepoManifest' and + if (app['Update Check Mode'] in ['RepoManifest', 'None'] and any(s in lastcommit for s in ('.', ',', '_', '-', '/'))): - warn("Last used commit '%s' looks like a tag, but Update Check Mode is RepoManifest" % lastcommit) + warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % ( + lastcommit, app['Update Check Mode'])) # No license if app['License'] == 'Unknown':