Skip to content

Commit

Permalink
don't use parent=self in handlers
Browse files Browse the repository at this point in the history
handlers aren't configurable, so shouldn't be passed as parent.

closes ipython#3502
  • Loading branch information
minrk committed Jul 1, 2013
1 parent e58338c commit 65efa08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/html/base/zmqhandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class AuthenticatedZMQStreamHandler(ZMQStreamHandler, IPythonHandler):

def open(self, kernel_id):
self.kernel_id = kernel_id.decode('ascii')
self.session = Session(parent=self)
self.session = Session(config=self.config)
self.save_on_message = self.on_message
self.on_message = self.on_first_message

Expand Down

0 comments on commit 65efa08

Please sign in to comment.