Просмотр исходного кода

chore: Update module license header

These modules were imported from the ERPNext codebase into Frappe.
License header was overlooked at that point. These were contributed
initially by Frappe Technologies Pvt Ltd under GPLv3 (ERPNext's license) and now
we, as Frappe Technologies Pvt Ltd converting them to MIT to comply with
Frappe's license.
version-14
Gavin D'souza 3 лет назад
Родитель
Сommit
65864c027f
12 измененных файлов: 26 добавлений и 24 удалений
  1. +2
    -2
      frappe/contacts/address_and_contact.py
  2. +2
    -2
      frappe/contacts/doctype/contact/contact.py
  3. +2
    -2
      frappe/core/doctype/sms_parameter/sms_parameter.py
  4. +2
    -2
      frappe/core/doctype/sms_settings/sms_settings.py
  5. +2
    -2
      frappe/desk/page/setup_wizard/install_fixtures.py
  6. +3
    -2
      frappe/email/test_email_body.py
  7. +3
    -2
      frappe/templates/pages/integrations/braintree_checkout.py
  8. +2
    -2
      frappe/templates/pages/integrations/paytm_checkout.py
  9. +2
    -2
      frappe/templates/pages/integrations/razorpay_checkout.py
  10. +2
    -2
      frappe/templates/pages/integrations/stripe_checkout.py
  11. +2
    -2
      frappe/utils/global_search.py
  12. +2
    -2
      frappe/utils/goal.py

+ 2
- 2
frappe/contacts/address_and_contact.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe



+ 2
- 2
frappe/contacts/doctype/contact/contact.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
from frappe.utils import cstr, has_gravatar
from frappe import _


+ 2
- 2
frappe/core/doctype/sms_parameter/sms_parameter.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe



+ 2
- 2
frappe/core/doctype/sms_settings/sms_settings.py Просмотреть файл

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe



+ 2
- 2
frappe/desk/page/setup_wizard/install_fixtures.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe
from frappe import _


+ 3
- 2
frappe/email/test_email_body.py Просмотреть файл

@@ -1,5 +1,6 @@
# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import unittest, os, base64
from frappe import safe_decode
from frappe.email.receive import Email


+ 3
- 2
frappe/templates/pages/integrations/braintree_checkout.py Просмотреть файл

@@ -1,5 +1,6 @@
# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe
from frappe import _
from frappe.utils import flt


+ 2
- 2
frappe/templates/pages/integrations/paytm_checkout.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
from frappe import _
import json


+ 2
- 2
frappe/templates/pages/integrations/razorpay_checkout.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
from frappe import _
from frappe.utils import flt, cint


+ 2
- 2
frappe/templates/pages/integrations/stripe_checkout.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
from frappe import _
from frappe.utils import cint, fmt_money


+ 2
- 2
frappe/utils/global_search.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe
import re


+ 2
- 2
frappe/utils/goal.py Просмотреть файл

@@ -1,5 +1,5 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

import frappe
from frappe import _


Загрузка…
Отмена
Сохранить