break
content_stripped = content.strip()
if content_stripped and is_html:
- parser = parse_html(content_stripped, charset, self.log)
+ parser = parse_html(
+ content_stripped, charset, self.log)
if charset:
bookmark.charset = charset
elif parser and parser.meta_charset:
def import_storage(storage_name):
ns = locals()
exec("from Storage import bkmk_st%s" % storage_name, globals(), ns)
- exec("storage = bkmk_st%s.storage_%s" % (storage_name, storage_name), globals(), ns)
+ exec("storage = bkmk_st%s.storage_%s" %
+ (storage_name, storage_name), globals(), ns)
return ns['storage']
def import_writer(writer_name):
ns = locals()
exec("from Writers import bkmk_w%s" % writer_name, globals(), ns)
- exec("writer = bkmk_w%s.writer_%s" % (writer_name, writer_name), globals(), ns)
+ exec("writer = bkmk_w%s.writer_%s" %
+ (writer_name, writer_name), globals(), ns)
return ns['writer']