2010/10/24 Hollister <[email protected]>: > A more clear way may be to define a function: > > def __after__(self): > """Executes after the request""" > print('foo') > > There is also __before__ if you need preprocessing.
+1 for using __before__ and __after__ as they were meant for that. -- Alex | twitter.com/alexconrad -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. 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.
