chiark / gitweb /
Recognise MIT license on Google Code in importer
authorCiaran Gultnieks <ciaran@ciarang.com>
Tue, 6 Mar 2012 23:15:34 +0000 (23:15 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Tue, 6 Mar 2012 23:15:34 +0000 (23:15 +0000)
import.py

index 33a704c5be34e5b82ec7ff935cb97bb277120aed..c8910f5912c0c95ef751a68a05e3f0899109499b 100755 (executable)
--- a/import.py
+++ b/import.py
@@ -160,6 +160,8 @@ def main():
             license = 'GPLv2'
         elif ltext == 'Apache License 2.0':
             license = 'Apache2'
+        elif ltext == 'MIT License':
+            license = 'MIT'
         else:
             print "License " + ltext + " is not recognised"
             sys.exit(1)