Explorar el Código

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 hace 3 años
padre
commit
65864c027f
Se han modificado 12 ficheros con 26 adiciones y 24 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 _


Cargando…
Cancelar
Guardar