fix typo in cluster profile list

This commit is contained in:
Min RK 2015-04-11 15:47:34 -07:00
parent 44ae68da77
commit 0fa03c4240

View File

@ -53,10 +53,10 @@ class ClusterManager(LoggingConfigurable):
"""List all profiles in the ipython_dir and cwd. """List all profiles in the ipython_dir and cwd.
""" """
try: try:
from IPythons.paths import get_ipython_dir from IPython.paths import get_ipython_dir
from IPython.core.profileapp import list_profiles_in from IPython.core.profileapp import list_profiles_in
except ImportError: except ImportError as e:
self.log.info("IPython not available") self.log.info("IPython not available: %s", e)
return return
stale = set(self.profiles) stale = set(self.profiles)
for path in [get_ipython_dir(), py3compat.getcwd()]: for path in [get_ipython_dir(), py3compat.getcwd()]: