From: Daniel Martí Date: Thu, 5 Mar 2015 14:25:21 +0000 (+0100) Subject: Don't take placeholders commits as possible tags X-Git-Tag: 0.4.0~112 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3b7b8b9bdeb971c77f65b0aaa335e13cc403cb24;p=fdroidserver.git Don't take placeholders commits as possible tags --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 8cf1bf61..9d6e521a 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -178,8 +178,9 @@ def main(): # Potentially incorrect UCM if (curbuild and curbuild['commit'] - and app['Update Check Mode'] == 'RepoManifest' and - any(s in curbuild['commit'] for s in '.,_-/')): + and app['Update Check Mode'] == 'RepoManifest' + and curbuild['commit'] != 'unknown - see disabled' + and any(s in curbuild['commit'] for s in '.,_-/')): pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % ( curbuild['commit'], app['Update Check Mode']))