mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
chore: remove all six compat code
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
import hmac
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
import frappe
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
def pre_process(milestone):
|
||||
return {
|
||||
'title': milestone.title,
|
||||
|
||||
@@ -30,7 +30,7 @@ def get_products_details():
|
||||
|
||||
#Get ASIN Codes
|
||||
string_io = StringIO(frappe.safe_decode(listings_response.original))
|
||||
csv_rows = list(csv.reader(string_io, delimiter=str('\t')))
|
||||
csv_rows = list(csv.reader(string_io, delimiter='\t'))
|
||||
asin_list = list(set([row[1] for row in csv_rows[1:]]))
|
||||
#break into chunks of 10
|
||||
asin_chunked_list = list(chunks(asin_list, 10))
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
import hmac
|
||||
|
||||
Reference in New Issue
Block a user