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' license = 'Apache2'
elif ltext == 'MIT License': elif ltext == 'MIT License':
license = 'MIT' 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: else:
print "License " + ltext + " is not recognised" print "License " + ltext + " is not recognised"
sys.exit(1) sys.exit(1)