From 62ebb5e3f62e445da53f005141c4f22bc36eb13b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 25 Oct 2013 15:31:49 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/polish/parsing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/ebooks/oeb/polish/parsing.py b/src/calibre/ebooks/oeb/polish/parsing.py index 7a7943827f..248ad1dd26 100644 --- a/src/calibre/ebooks/oeb/polish/parsing.py +++ b/src/calibre/ebooks/oeb/polish/parsing.py @@ -30,6 +30,7 @@ class NamespacedHTMLPresent(ValueError): ValueError.__init__(self, prefix) self.prefix = prefix +# Nodes {{{ def create_lxml_context(): parser = XMLParser(no_network=True) parser.set_element_class_lookup(ElementDefaultClassLookup(element=Element, comment=Comment)) @@ -212,6 +213,7 @@ class DocType(object): def __init__(self, name, public_id, system_id): self.text = self.name = name self.public_id, self.system_id = public_id, system_id +# }}} def process_attribs(attrs, nsmap): attribs = {}