mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fixes found by check
This commit is contained in:
parent
7ab9970d33
commit
43c0b1216e
@ -4,7 +4,7 @@ __license__ = 'GPL 3'
|
|||||||
__copyright__ = '2010, Li Fanxi <lifanxi@freemindworld.com>'
|
__copyright__ = '2010, Li Fanxi <lifanxi@freemindworld.com>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
import os, string
|
import os
|
||||||
|
|
||||||
from calibre.customize.conversion import OutputFormatPlugin, OptionRecommendation
|
from calibre.customize.conversion import OutputFormatPlugin, OptionRecommendation
|
||||||
from calibre.ptempfile import TemporaryDirectory
|
from calibre.ptempfile import TemporaryDirectory
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from __future__ import unicode_literals, absolute_import, print_function, division
|
|
||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python2
|
||||||
|
from __future__ import unicode_literals, absolute_import, print_function, division
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
@ -606,7 +606,7 @@ def OpenDocumentTextMaster():
|
|||||||
|
|
||||||
|
|
||||||
def __loadxmlparts(z, manifest, doc, objectpath):
|
def __loadxmlparts(z, manifest, doc, objectpath):
|
||||||
from load import LoadParser
|
from .load import LoadParser
|
||||||
from xml.sax import make_parser, handler
|
from xml.sax import make_parser, handler
|
||||||
|
|
||||||
for xmlfile in (objectpath+'settings.xml', objectpath+'meta.xml', objectpath+'content.xml', objectpath+'styles.xml'):
|
for xmlfile in (objectpath+'settings.xml', objectpath+'meta.xml', objectpath+'content.xml', objectpath+'styles.xml'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user