From: W. Trevor King Date: Sat, 20 Nov 2010 19:37:45 +0000 (-0500) Subject: Oops, use an objectify parser instead of an etree parser in atomgen.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d4ef496db6eb789e3237752259f078451be0a8e;p=mw2txt.git Oops, use an objectify parser instead of an etree parser in atomgen.py. --- diff --git a/posts/Atomgen/atomgen.py b/posts/Atomgen/atomgen.py index 52793c2..d237c30 100755 --- a/posts/Atomgen/atomgen.py +++ b/posts/Atomgen/atomgen.py @@ -277,7 +277,7 @@ class AddEntryCommand (Command): title = unicode(args[0]) link = unicode(args[1]) - parser = etree.XMLParser(remove_blank_text=True) + parser = objectify.makeparser() if options.ifilename == None: assert options.content != None, (