This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Python pretty-printed output isn't pretty :-(
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Tom> Now that all CLI output goes through _format_children, perhaps we
Tom> could reconsider this. We can pass it whatever arguments we like.
Tom> So, we could pass it 'recurse' so that it can know about the depth at
Tom> least. And, we could do the actual printing from _format_children
Tom> rather than returning a string.
Tom>
Tom> We'd probably also need a way to wrap a ui_file, but we'll want that
Tom> anyhow.
Tom>
Tom> What do you think of that?
Paul> Yes, that sounds like a good idea.
I'll implement this next week.
Thanks, btw, for experimenting with this so much. I'm very happy
about that :-)
Tom