manually adapt few imports

This commit is contained in:
ilvalle
2016-06-01 20:16:30 +02:00
parent aa2bf4134e
commit 01bab81432
28 changed files with 174 additions and 189 deletions
+5 -3
View File
@@ -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'