瀏覽代碼

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 年之前
父節點
當前提交
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 _


Loading…
取消
儲存