added "see description for license" license option
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Tue, 28 Mar 2017 18:21:12 +0000 (14:21 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Tue, 28 Mar 2017 18:21:12 +0000 (14:21 -0400)
mediagoblin_libreplanet/__init__.py

index 5b7f38f..5af3195 100644 (file)
@@ -39,10 +39,15 @@ cc_by_nd_4 = License("CC BY-ND 4.0",
 gfdl_1_3 = License("GFDL 1.3",
                      "GNU Free Documentation License 1.3",
                      "https://www.gnu.org/licenses/fdl-1.3.en.html")
-SORTED_LICENSES.insert(1, cc_by_4)
-SORTED_LICENSES.insert(2, cc_by_sa_4)
-SORTED_LICENSES.insert(3, cc_by_nd_4)
-SORTED_LICENSES.insert(4, gfdl_1_3)
+see_desc = License("See description for license",
+                     "See description for license",
+                     "./")
+SORTED_LICENSES.insert(1, see_desc)
+SORTED_LICENSES.insert(2, cc_by_4)
+SORTED_LICENSES.insert(3, cc_by_sa_4)
+SORTED_LICENSES.insert(4, cc_by_nd_4)
+SORTED_LICENSES.insert(5, gfdl_1_3)
+SUPPORTED_LICENSES[see_desc.uri] = see_desc
 SUPPORTED_LICENSES[cc_by_4.uri] = cc_by_4
 SUPPORTED_LICENSES[cc_by_sa_4.uri] = cc_by_sa_4
 SUPPORTED_LICENSES[cc_by_nd_4.uri] = cc_by_nd_4