On Jan 12, 2006, at 4:46 PM, Paul McNett wrote:

I've updated the part of the form class that reads in and compiles the code pieces to deal with this. I say leave xmltodict.py however is best for viewing text on a given platform, and let the form compiling code worry about getting it the way that Python wants it.

Right. There were actually a couple problems. I'll summarize after I'm through cleaning up.

I still think that trying to fix this in xmltodict is not going to work. As soon as someone edits it in Notepad, it'll be broken again.

If Python wants \n between lines, then they should be set in dFormMixin._addCode. I joined the lines with os.linesep because that's what you told me Python wanted. Instead of removing that code, you should have just changed it to "\n".join


-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to