From 214d63e48ffaa358c501c6f979c61603a444e4b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Fri, 28 Mar 2014 11:40:58 +0100 Subject: [PATCH] Better identify empty licenses --- fdroidserver/lint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 550216c5..13479286 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -160,9 +160,9 @@ def main(): pwarn("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': - warn("License was not properly set") + # No proper license + if app['License'] in ('Unknown','None',''): + warn("License was not set") # Summary size limit summ_chars = len(app['Summary']) -- 2.30.2