1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-06 21:13:34 +02:00

Removing unneeded from __future__ import statements.

Since we are on Python 3.6 and up, we don't need those anymore.
This commit is contained in:
2020-04-19 17:38:58 +02:00
parent 41b687ee27
commit 48fedea799
331 changed files with 1178 additions and 2067 deletions

View File

@@ -1,13 +1,6 @@
#!/usr/bin/env python2
from __future__ import print_function, unicode_literals, absolute_import, division
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
'''
"""
lxml based OPF parser.
'''
"""
import re, sys, unittest, functools, os, uuid, glob, io, json, copy
from lxml import etree
@@ -27,6 +20,11 @@ from ebook_converter.utils.xml_parse import safe_xml_fromstring
from ebook_converter.polyglot.builtins import iteritems, unicode_type, getcwd, map
from ebook_converter.polyglot.urllib import unquote, urlparse
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
pretty_print_opf = False