cmp alternative
This commit is contained in:
parent
71691beded
commit
990b5b6317
3 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ from frappe import _
|
|||
from frappe.model.document import Document
|
||||
from frappe.core.doctype.dynamic_link.dynamic_link import deduplicate_dynamic_links
|
||||
from six import iteritems
|
||||
from past.builtins import cmp
|
||||
|
||||
import functools
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ from __future__ import unicode_literals
|
|||
|
||||
import functools
|
||||
import frappe
|
||||
from past.builtins import cmp
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_help_messages():
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ from __future__ import unicode_literals
|
|||
import functools
|
||||
import frappe, re, os
|
||||
from six import iteritems
|
||||
from past.builtins import cmp
|
||||
|
||||
def delete_page_cache(path):
|
||||
cache = frappe.cache()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue