Remove the dependency on six.py from html5lib

This commit is contained in:
Kovid Goyal
2015-01-09 09:59:17 +05:30
parent 9998bea941
commit 5454fca03e
11 changed files with 48 additions and 587 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
from __future__ import absolute_import, division, unicode_literals
from six import text_type
try:
text_type = unicode
except NameError:
text_type = str
import gettext
_ = gettext.gettext