mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-24 07:01:30 +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:
@@ -1,7 +0,0 @@
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
"""
|
||||
This package contains code to generate ebooks in the SONY LRS/F format. It was
|
||||
originally developed by Mike Higgins and has been extended and modified by Kovid
|
||||
Goyal.
|
||||
"""
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
""" elements.py -- replacements and helpers for ElementTree """
|
||||
|
||||
"""
|
||||
elements.py -- replacements and helpers for ElementTree
|
||||
"""
|
||||
from ebook_converter.polyglot.builtins import unicode_type, string_or_bytes
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
#!/usr/bin/env python2
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
"""
|
||||
pylrf.py -- very low level interface to create lrf files. See pylrs for
|
||||
higher level interface that can use this module to render books to lrf.
|
||||
pylrf.py -- very low level interface to create lrf files. See pylrs for
|
||||
higher level interface that can use this module to render books to lrf.
|
||||
"""
|
||||
import struct
|
||||
import zlib
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
|
||||
def _optimize(tagList, tagName, conversion):
|
||||
# copy the tag of interest plus any text
|
||||
newTagList = []
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||
|
||||
# Copyright (c) 2007 Mike Higgins (Falstaff)
|
||||
# Modifications from the original:
|
||||
# Copyright (C) 2007 Kovid Goyal <kovid@kovidgoyal.net>
|
||||
@@ -37,7 +35,6 @@ from __future__ import absolute_import, division, print_function, unicode_litera
|
||||
# Other unsupported tags: PageDiv, SoundStop, Wait, pos,
|
||||
# Plot, Image (outside of ImageBlock),
|
||||
# EmpLine, EmpDots
|
||||
|
||||
import os, re, codecs, operator, io
|
||||
from xml.sax.saxutils import escape
|
||||
from datetime import date
|
||||
|
||||
Reference in New Issue
Block a user