durusmail: quixote-users: .get_directory_path() problem
.get_directory_path() problem
2004-11-26
2004-11-28
2004-11-29
2004-11-29
2004-11-29
.get_directory_path() problem
Mike Orr
2004-11-29
On Sun, Nov 28, 2004 at 02:40:16PM -0500, David Binger wrote:
> Would it work to just override _q_traverse so that it
> calls _q_filter_output directly, when it exists?

It might.  I've already written Publish.filter_output() to not use the
info.

One problem I found with a chain of _q_traverse overrides calling each
other was I wanted the code to execute in a different order than it was.
I don't remember the exact situation, but it had to do with _q_traverse
calling itself recursively (i.e., on its subdirectory object), and me
wanting to inject my code in the middle of it rather than before or after.
Of course, one can incorporate all the superclass code in any order one
wants, but that flies in the face of plugging in off-the-shelf mixins.

--
-Mike Orr (aka. Sluggo), mso@oz.net  (iron@sense-sea-MegaSub-1-465.oz.net)
   http://sluggo.kicks-ass.org/                  Cxu vi parolas Esperante?

reply