diff --git a/src/calibre/ebooks/oeb/polish/hyphenation.py b/src/calibre/ebooks/oeb/polish/hyphenation.py index ae6da750c8..96d2386d63 100644 --- a/src/calibre/ebooks/oeb/polish/hyphenation.py +++ b/src/calibre/ebooks/oeb/polish/hyphenation.py @@ -2,8 +2,6 @@ # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal -from __future__ import absolute_import, division, print_function, unicode_literals - from calibre.ebooks.oeb.base import OEB_DOCS from polyglot.builtins import iteritems diff --git a/src/calibre/gui2/palette.py b/src/calibre/gui2/palette.py index b4971b6af0..951969de4a 100644 --- a/src/calibre/gui2/palette.py +++ b/src/calibre/gui2/palette.py @@ -2,8 +2,6 @@ # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal -from __future__ import absolute_import, division, print_function, unicode_literals - from PyQt5.Qt import QColor, QPalette, Qt from calibre.constants import dark_link_color diff --git a/src/calibre/gui2/viewer/search.py b/src/calibre/gui2/viewer/search.py index fcb4fa9baa..72a4a70960 100644 --- a/src/calibre/gui2/viewer/search.py +++ b/src/calibre/gui2/viewer/search.py @@ -2,8 +2,6 @@ # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2020, Kovid Goyal -from __future__ import absolute_import, division, print_function, unicode_literals - import json import re from collections import Counter, OrderedDict diff --git a/src/calibre/utils/xml_parse.py b/src/calibre/utils/xml_parse.py index aff73a6efc..6b67d6bae2 100644 --- a/src/calibre/utils/xml_parse.py +++ b/src/calibre/utils/xml_parse.py @@ -2,8 +2,6 @@ # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal -from __future__ import absolute_import, division, print_function, unicode_literals - from lxml import etree # resolving of SYSTEM entities is turned off as entities can cause