Python3 is a game-changer and I won't loose my mind

This commit is contained in:
Miroslav Stampar
2019-03-27 17:56:37 +01:00
parent 41c3139c01
commit e56c422a8c
5 changed files with 52 additions and 43 deletions

View File

@@ -94,13 +94,13 @@ else:
_logger.addHandler(handler)
try:
from six.moves import cStringIO as _cStringIO
from six.moves import urllib as _html_entities
from six.moves import urllib as _urllib
except ImportError:
from thirdparty.six.moves import cStringIO as _cStringIO
from thirdparty.six.moves import http_client as _html_entities
from thirdparty.six.moves import urllib as _urllib
except ImportError:
from six.moves import cStringIO as _cStringIO
from six.moves import urllib as _html_entities
from six.moves import urllib as _urllib
try:
import sgmllib