From 0fa03c424048a66b3121591acc357711a8fbed44 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 3986e109d..ba7972008 100644 --- a/jupyter_notebook/services/clusters/clustermanager.py +++ b/jupyter_notebook/services/clusters/clustermanager.py @@ -53,10 +53,10 @@ class ClusterManager(LoggingConfigurable): """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()]: