All pastes #201012 Raw Edit

Anonymous

public text v1 · immutable
#201012 ·published 2006-10-13 15:01 UTC
rendered paste body
controllers.py:
110,113c110,117
<         response = self._dispatch_call()
<         if hasattr(self, '__after__'):
<             self._inspect_call(self.__after__)
<         return response
---
>         try:
>             response = self._dispatch_call()
>             if hasattr(self, '__after__'):
>                 self._inspect_call(self.__after__)
>             return response
>         finally:
>             if hasattr(self, '__finally__'):
>                 self._inspect_call(self.__finally__)
134,136c138,145
<         response = self._dispatch_call()
<         if hasattr(self, '__after__'):
<             self._inspect_call(self.__after__)
---
>         try:
>             response = self._dispatch_call()
>             if hasattr(self, '__after__'):
>                 self._inspect_call(self.__after__)
>             return response
>         finally:
>             if hasattr(self, '__finally__'):
>                 self._inspect_call(self.__finally__)