added GFDL license to license list

remotes/1726741609412457634/master
Andrew Engelbrecht 8 years ago
parent 4c03fef2a8
commit 4fdf57b476
  1. 5
      mediagoblin_libreplanet/__init__.py

@ -36,12 +36,17 @@ cc_by_sa_4 = License("CC BY-SA 4.0",
cc_by_nd_4 = License("CC BY-ND 4.0", cc_by_nd_4 = License("CC BY-ND 4.0",
"Creative Commons Attribution-NoDerivatives 4.0 International", "Creative Commons Attribution-NoDerivatives 4.0 International",
"https://creativecommons.org/licenses/by-nd/4.0/") "https://creativecommons.org/licenses/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(1, cc_by_4)
SORTED_LICENSES.insert(2, cc_by_sa_4) SORTED_LICENSES.insert(2, cc_by_sa_4)
SORTED_LICENSES.insert(3, cc_by_nd_4) SORTED_LICENSES.insert(3, cc_by_nd_4)
SORTED_LICENSES.insert(4, gfdl_1_3)
SUPPORTED_LICENSES[cc_by_4.uri] = cc_by_4 SUPPORTED_LICENSES[cc_by_4.uri] = cc_by_4
SUPPORTED_LICENSES[cc_by_sa_4.uri] = cc_by_sa_4 SUPPORTED_LICENSES[cc_by_sa_4.uri] = cc_by_sa_4
SUPPORTED_LICENSES[cc_by_nd_4.uri] = cc_by_nd_4 SUPPORTED_LICENSES[cc_by_nd_4.uri] = cc_by_nd_4
SUPPORTED_LICENSES[gfdl_1_3.uri] = gfdl_1_3
PLUGIN_DIR = os.path.dirname(__file__) PLUGIN_DIR = os.path.dirname(__file__)

Loading…
Cancel
Save