Skip to content

Commit

Permalink
Merge pull request #9040 from minrk/rm-extension-del
Browse files Browse the repository at this point in the history
remove unregister trait-change callback in ExtensionManager.__del__
  • Loading branch information
Carreau committed Dec 11, 2015
2 parents 4bfe6b7 + dc1d1d4 commit 6178cef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions IPython/core/extensions.py
Expand Up @@ -59,11 +59,6 @@ def __init__(self, shell=None, **kwargs):
)
self.loaded = set()

def __del__(self):
self.shell.on_trait_change(
self._on_ipython_dir_changed, 'ipython_dir', remove=True
)

@property
def ipython_extension_dir(self):
return os.path.join(self.shell.ipython_dir, u'extensions')
Expand Down

0 comments on commit 6178cef

Please sign in to comment.