fix: drop six code (#29479)

This commit is contained in:
Ankush Menat
2022-01-27 20:08:05 +05:30
committed by GitHub
parent b75b00fefc
commit b05287dea0
10 changed files with 14 additions and 11 deletions

View File

@@ -5,11 +5,11 @@
import csv
import math
import time
from io import StringIO
import dateutil
import frappe
from frappe import _
from six import StringIO
import erpnext.erpnext_integrations.doctype.amazon_mws_settings.amazon_mws_api as mws

View File

@@ -2,13 +2,14 @@
# For license information, please see license.txt
from urllib.parse import urlencode
import frappe
import gocardless_pro
from frappe import _
from frappe.integrations.utils import create_payment_gateway, create_request_log
from frappe.model.document import Document
from frappe.utils import call_hook_method, cint, flt, get_url
from six.moves.urllib.parse import urlencode
class GoCardlessSettings(Document):

View File

@@ -2,12 +2,13 @@
# For license information, please see license.txt
from urllib.parse import urlparse
import frappe
from frappe import _
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
from frappe.model.document import Document
from frappe.utils.nestedset import get_root_of
from six.moves.urllib.parse import urlparse
class WoocommerceSettings(Document):

View File

@@ -1,10 +1,10 @@
import base64
import hashlib
import hmac
from urllib.parse import urlparse
import frappe
from frappe import _
from six.moves.urllib.parse import urlparse
from erpnext import get_default_company