1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

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'" % (
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'])