Better identify empty licenses

This commit is contained in:
Daniel Martí 2014-03-28 11:40:58 +01:00
parent edda052000
commit 214d63e48f

View file

@ -160,9 +160,9 @@ def main():
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % ( pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
lastcommit, app['Update Check Mode'])) lastcommit, app['Update Check Mode']))
# No license # No proper license
if app['License'] == 'Unknown': if app['License'] in ('Unknown','None',''):
warn("License was not properly set") warn("License was not set")
# Summary size limit # Summary size limit
summ_chars = len(app['Summary']) summ_chars = len(app['Summary'])