From c7b8623145e01b159354d2c638c3a9efa46b4bfa 2015-04-10 17:46:24 From: Min RK Date: 2015-04-10 17:46:24 Subject: [PATCH] Merge pull request #8303 from tea-dragon/patch-1 fix bug in stale profile clean up for clusters --- diff --git a/jupyter_notebook/services/clusters/clustermanager.py b/jupyter_notebook/services/clusters/clustermanager.py index c0a8776..6b82db6 100644 --- a/jupyter_notebook/services/clusters/clustermanager.py +++ b/jupyter_notebook/services/clusters/clustermanager.py @@ -71,7 +71,7 @@ class ClusterManager(LoggingConfigurable): for profile in stale: # remove profiles that no longer exist self.log.debug("Profile '%s' no longer exists", profile) - self.profiles.pop(stale) + self.profiles.pop(profile) def list_profiles(self): self.update_profiles()