> I define view() as suggested in its docstring:
>
>         def view(self, url):
>             try:
>                 return render_response('/'+url)
>             except myghty.exception.ComponentNotFound:
>                 return Response(code=404)
>
> I get the same result.

God, what an idiot I am...  My view() was actually:

    def view(self, url):
        """Big, hairy, multiline docstring."""
        def view(self, url):
            ... the real thing ...

*sigh*.  Sorry for the wasted bandwidth...

Skip


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to