Permalink
Browse files

Change the name of the handler on set_handler.

Otherwise it always returns "normal".
  • Loading branch information...
1 parent b38d910 commit bc543cf1cabfef71a5a3acca812f3a47d8e6494f @almet almet committed Oct 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 vaurien/proxy.py
View
@@ -135,4 +135,5 @@ class OnTheFlyProxy(DefaultProxy):
def set_handler(self, handler):
self.handler = self.handlers[handler]
- self._logger.info('next handler changed to "%s"' % handler)
+ self.handler_name = handler
+ self._logger.info('Handler changed to "%s"' % handler)

0 comments on commit bc543cf

Please sign in to comment.