chiark / gitweb /
Recognise more licenses in Google Code project pages
authorCiaran Gultnieks <ciaran@ciarang.com>
Tue, 21 Aug 2012 20:59:49 +0000 (21:59 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Tue, 21 Aug 2012 20:59:49 +0000 (21:59 +0100)
fdroidserver/import.py

index 783e9c6e606c5ca2122ebda099bc25216a0814d9..6f435aecbc745718bda0f925e3754fda5be76934 100644 (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)