Oops, use an objectify parser instead of an etree parser in atomgen.py.
authorW. Trevor King <wking@drexel.edu>
Sat, 20 Nov 2010 19:37:45 +0000 (14:37 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 20 Nov 2010 19:37:45 +0000 (14:37 -0500)
posts/Atomgen/atomgen.py

index 52793c297aeebc5ec6c908c9e2f63a2e7ef8536b..d237c30db9a0b1f2ebf1a3f1c14e0a96e73e78c6 100755 (executable)
@@ -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, (