mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-23 23:32:32 -04:00
Remove the dependency on six.py from html5lib
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user