From: Daniel Martí Date: Sun, 7 Jun 2015 12:14:56 +0000 (+0200) Subject: lint: take forcevercode into account for UCM warnings X-Git-Tag: 0.4.0~33 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5af099eb08f244e27170d192f89a1809d0742f99;p=fdroidserver.git lint: take forcevercode into account for UCM warnings --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 4a7134ff..f8d7d1a0 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -137,6 +137,7 @@ def main(): and app['Update Check Mode'] == 'RepoManifest' and not curbuild['commit'].startswith('unknown') and curbuild['vercode'] == app['Current Version Code'] + and not curbuild['forcevercode'] and any(s in curbuild['commit'] for s in '.,_-/')): warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % ( curbuild['commit'], app['Update Check Mode']))