mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Recognise more licenses in Google Code project pages
This commit is contained in:
parent
2ed55dc233
commit
b867ffd24f
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue