This commit is contained in:
Kovid Goyal 2009-07-09 22:06:59 -06:00
parent ebcab0d2d3
commit 124fb1e67c

View File

@ -790,7 +790,7 @@ class Manifest(object):
data = first_pass(data)
# Force into the XHTML namespace
if barename(data.tag) != 'html':
self.log.warn('File %r does not appear to be (X)HTML'%self.href)
self.oeb.log.warn('File %r does not appear to be (X)HTML'%self.href)
nroot = etree.fromstring('<html></html>')
for child in list(data):
child.getparent.remove(child)