Browse Source

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 years ago
parent
commit
65864c027f
12 changed files with 26 additions and 24 deletions
  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 View File

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




+ 2
- 2
frappe/contacts/doctype/contact/contact.py View File

@@ -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 frappe
from frappe.utils import cstr, has_gravatar from frappe.utils import cstr, has_gravatar
from frappe import _ from frappe import _


+ 2
- 2
frappe/core/doctype/sms_parameter/sms_parameter.py View File

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




+ 2
- 2
frappe/core/doctype/sms_settings/sms_settings.py View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- 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 import frappe




+ 2
- 2
frappe/desk/page/setup_wizard/install_fixtures.py View File

@@ -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 frappe
from frappe import _ from frappe import _


+ 3
- 2
frappe/email/test_email_body.py View File

@@ -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 import unittest, os, base64
from frappe import safe_decode from frappe import safe_decode
from frappe.email.receive import Email from frappe.email.receive import Email


+ 3
- 2
frappe/templates/pages/integrations/braintree_checkout.py View File

@@ -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 import frappe
from frappe import _ from frappe import _
from frappe.utils import flt from frappe.utils import flt


+ 2
- 2
frappe/templates/pages/integrations/paytm_checkout.py View File

@@ -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 frappe
from frappe import _ from frappe import _
import json import json


+ 2
- 2
frappe/templates/pages/integrations/razorpay_checkout.py View File

@@ -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 frappe
from frappe import _ from frappe import _
from frappe.utils import flt, cint from frappe.utils import flt, cint


+ 2
- 2
frappe/templates/pages/integrations/stripe_checkout.py View File

@@ -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 frappe
from frappe import _ from frappe import _
from frappe.utils import cint, fmt_money from frappe.utils import cint, fmt_money


+ 2
- 2
frappe/utils/global_search.py View File

@@ -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 frappe
import re import re


+ 2
- 2
frappe/utils/goal.py View File

@@ -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 frappe
from frappe import _ from frappe import _


Loading…
Cancel
Save