--- a/eric6/QScintilla/Exporters/ExporterHTML.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/QScintilla/Exporters/ExporterHTML.py Sat Aug 31 12:58:11 2019 +0200 @@ -9,16 +9,12 @@ from __future__ import unicode_literals -try: # Only for Py2 - import StringIO as io # __IGNORE_EXCEPTION__ -except (ImportError, NameError): - import io # __IGNORE_WARNING__ - # This code is a port of the C++ code found in SciTE 1.74 # Original code: Copyright 1998-2006 by Neil Hodgson <neilh@scintilla.org> import os import sys +import io from PyQt5.QtCore import Qt from PyQt5.QtGui import QCursor, QFontInfo