durusmail: quixote-users: Re: publisher difficult to modify for sessions
publisher difficult to modify for sessions
2005-09-09
Re: publisher difficult to modify for sessions
2005-09-09
2005-09-12
Re: publisher difficult to modify for sessions
Neil Schemenauer
2005-09-12
Evan Laforge  wrote:
> What I'm trying to do really looks like this, where the *s mark my
> code, and the rest is standard quixote.

Hi Evan,

Couldn't you do this by overriding _q_traverse on your root
Directory instance?  Something like:

    def _q_traverse(self, path):
        # code A
        try:
            result = Directory._q_traverse(self, path)
        except TraversalError:
            # code B
            raise
        # code C
        return result

HTH,

  Neil

reply