import errno
from librarian import dcparser
from librarian.parser import WLDocument
+from lxml import etree
import catalogue.models
from multiprocessing.pool import ThreadPool
from threading import current_thread
if header.tag in self.skip_header_tags:
continue
+ if header.tag is etree.Comment:
+ continue
# section content
content = []