update out of date BSD and MIT license links (#20373)
* update out of date BSD and MIT license links * correct url in docs
This commit is contained in:
Родитель
df93e522e1
Коммит
0d1b517485
|
@ -30,8 +30,8 @@ Open source license slugs are taken from the `SPDX License list <https://spdx.or
|
|||
GPL-3.0-or-later `GNU General Public License v3.0 (or later) <http://www.gnu.org/licenses/gpl-3.0.html>`_
|
||||
LGPL-2.1-or-later `GNU Library General Public License v2.1 (or later) <http://www.gnu.org/licenses/lgpl-2.1.html>`_
|
||||
LGPL-3.0-or-later `GNU Library General Public License v3.0 (or later) <http://www.gnu.org/licenses/lgpl-3.0.html>`_
|
||||
MIT `The MIT License <http://www.opensource.org/licenses/mit-license.php>`_
|
||||
BSD-2-Clause `The BSD (2 clause) License <http://www.opensource.org/licenses/bsd-license.php>`_
|
||||
MIT `The MIT License <http://www.opensource.org/license/mit>`_
|
||||
BSD-2-Clause `The BSD (2 clause) License <http://www.opensource.org/license/bsd-2-clause>`_
|
||||
=================== ==============================================================
|
||||
|
||||
|
||||
|
|
|
@ -48,14 +48,14 @@ class LICENSE_LGPL3(_LicenseBase):
|
|||
|
||||
class LICENSE_MIT(_LicenseBase):
|
||||
name = _('The MIT License')
|
||||
url = 'http://www.opensource.org/licenses/mit-license.php'
|
||||
url = 'http://www.opensource.org/license/mit'
|
||||
builtin = 6
|
||||
slug = 'MIT'
|
||||
|
||||
|
||||
class LICENSE_BSD(_LicenseBase):
|
||||
name = _('The BSD License')
|
||||
url = 'http://www.opensource.org/licenses/bsd-license.php'
|
||||
url = 'http://www.opensource.org/license/bsd-2-clause'
|
||||
builtin = 7
|
||||
slug = 'BSD-2-Clause'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче