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

Recognise more licenses in Google Code project pages

This commit is contained in:
Ciaran Gultnieks 2012-08-21 21:59:49 +01:00
parent 2ed55dc233
commit b867ffd24f

View File

@ -191,6 +191,12 @@ def main():
license = 'Apache2'
elif ltext == 'MIT License':
license = 'MIT'
elif ltext == 'GNU Lesser GPL':
license = 'LGPL'
elif ltext == 'Mozilla Public License 1.1':
license = 'MPL'
elif ltext == 'New BSD License':
license = 'NewBSD'
else:
print "License " + ltext + " is not recognised"
sys.exit(1)