Fixes found by check

This commit is contained in:
Kovid Goyal 2019-05-20 16:56:45 +05:30
parent 7ab9970d33
commit 43c0b1216e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ __license__ = 'GPL 3'
__copyright__ = '2010, Li Fanxi <lifanxi@freemindworld.com>'
__docformat__ = 'restructuredtext en'
import os, string
import os
from calibre.customize.conversion import OutputFormatPlugin, OptionRecommendation
from calibre.ptempfile import TemporaryDirectory

View File

@ -1,5 +1,5 @@
from __future__ import unicode_literals, absolute_import, print_function, division
#!/usr/bin/env python2
from __future__ import unicode_literals, absolute_import, print_function, division
import sys

View File

@ -606,7 +606,7 @@ def OpenDocumentTextMaster():
def __loadxmlparts(z, manifest, doc, objectpath):
from load import LoadParser
from .load import LoadParser
from xml.sax import make_parser, handler
for xmlfile in (objectpath+'settings.xml', objectpath+'meta.xml', objectpath+'content.xml', objectpath+'styles.xml'):