fixed py3 import
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from pydal._compat import xrange
|
from pydal._compat import xrange
|
||||||
from local_html_escape import local_html_escape
|
from gluon.local_html_escape import local_html_escape
|
||||||
import re
|
import re
|
||||||
|
|
||||||
__all__ = ['highlight']
|
__all__ = ['highlight']
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ import base64
|
|||||||
from gluon import sanitizer, decoder
|
from gluon import sanitizer, decoder
|
||||||
import itertools
|
import itertools
|
||||||
from pydal._compat import reduce, pickle, copyreg, HTMLParser, name2codepoint, iteritems, unichr, unicodeT, urllib_quote, to_bytes, to_native, to_unicode, basestring, urlencode, implements_bool
|
from pydal._compat import reduce, pickle, copyreg, HTMLParser, name2codepoint, iteritems, unichr, unicodeT, urllib_quote, to_bytes, to_native, to_unicode, basestring, urlencode, implements_bool
|
||||||
from local_html_escape import local_html_escape
|
from gluon.local_html_escape import local_html_escape
|
||||||
import marshal
|
import marshal
|
||||||
|
|
||||||
from gluon.storage import Storage
|
from gluon.storage import Storage
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ import logging
|
|||||||
from cgi import escape
|
from cgi import escape
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
from gluon.utf8 import Utf8
|
from gluon.utf8 import Utf8
|
||||||
from local_html_escape import local_html_escape
|
from gluon.local_html_escape import local_html_escape
|
||||||
|
|
||||||
from pydal._compat import copyreg, PY2, maketrans, iterkeys, unicodeT, to_unicode, to_bytes, iteritems, to_native, pjoin
|
from pydal._compat import copyreg, PY2, maketrans, iterkeys, unicodeT, to_unicode, to_bytes, iteritems, to_native, pjoin
|
||||||
from pydal.contrib.portalocker import read_locked, LockedFile
|
from pydal.contrib.portalocker import read_locked, LockedFile
|
||||||
|
|||||||
Reference in New Issue
Block a user