manually adapt few imports
This commit is contained in:
+5
-3
@@ -11,12 +11,14 @@ Utilities and class for UTF8 strings managing
|
||||
----------------------------------------------
|
||||
"""
|
||||
from __future__ import print_function
|
||||
import __builtin__
|
||||
from gluon._compat import builtin as __builtin__
|
||||
|
||||
__all__ = ['Utf8']
|
||||
|
||||
repr_escape_tab = {}
|
||||
for i in range(1, 32):
|
||||
repr_escape_tab[i] = ur'\x%02x' % i
|
||||
#FIXME PY3
|
||||
#for i in range(1, 32):
|
||||
# repr_escape_tab[i] = ur'\x%02x' % i
|
||||
repr_escape_tab[7] = u'\\a'
|
||||
repr_escape_tab[8] = u'\\b'
|
||||
repr_escape_tab[9] = u'\\t'
|
||||
|
||||
Reference in New Issue
Block a user