From 0fefa38e077ec042e10061060fd1ed44b6aef04f Mon Sep 17 00:00:00 2001 From: Min RK Date: Sat, 11 Apr 2015 15:47:34 -0700 Subject: [PATCH] fix typo in cluster profile list --- jupyter_notebook/services/clusters/clustermanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyter_notebook/services/clusters/clustermanager.py b/jupyter_notebook/services/clusters/clustermanager.py index 3986e109d9..ba7972008f 100644 --- a/jupyter_notebook/services/clusters/clustermanager.py +++ b/jupyter_notebook/services/clusters/clustermanager.py @@ -53,10 +53,10 @@ def update_profiles(self): """List all profiles in the ipython_dir and cwd. """ try: - from IPythons.paths import get_ipython_dir + from IPython.paths import get_ipython_dir from IPython.core.profileapp import list_profiles_in - except ImportError: - self.log.info("IPython not available") + except ImportError as e: + self.log.info("IPython not available: %s", e) return stale = set(self.profiles) for path in [get_ipython_dir(), py3compat.getcwd()]: