1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-22 10:05:47 +01: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,20 +1,12 @@
#!/usr/bin/env python2
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import absolute_import, division, print_function, unicode_literals
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
import io
from struct import pack
from ebook_converter.constants import plugins
from ebook_converter.ebooks.compression import cPalmdoc
from ebook_converter.polyglot.builtins import range
#cPalmdoc = plugins['cPalmdoc'][0]
#if not cPalmdoc:
# raise RuntimeError(('Failed to load required cPalmdoc module: '
# '%s')%plugins['cPalmdoc'][1])
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
def decompress_doc(data):