Exemplo n.º 1
0
 def _register_controller_wrapper(self, wrapper):
     try:
         self.controller_caller = wrapper(self.controller_caller)
     except TypeError:
         self.controller_caller = _DeprecatedControllerWrapper(wrapper, tg.config,
                                                               self.controller_caller)
Exemplo n.º 2
0
 def _register_controller_wrapper(self, wrapper):
     try:
         self.controller_caller = wrapper(self.controller_caller)
     except TypeError:
         self.controller_caller = _DeprecatedControllerWrapper(wrapper, tg.config,
                                                               self.controller_caller)