environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/clustermanager.py
def update_profiles(self):
        """List all profiles in the ipython_dir and cwd.
        """
        for path in [get_ipython_dir(), os.getcwdu()]:
            for profile in list_profiles_in(path):
                pd = self.get_profile_dir(profile, path)
                if profile not in self.profiles:
                    self.log.debug("Adding cluster profile '%s'" % profile)
                    self.profiles[profile] = {
                        'profile': profile,
                        'profile_dir': pd,
                        'status': 'stopped'
                    }
def update_profiles(self):
        for path in [get_ipython_dir(), os.getcwdu()]:
            for profile in list_profiles_in(path):
                pd = self.get_profile_dir(profile, path)
                if profile not in self.profiles:
                    self.log.debug("Adding cluster profile '%s'" % profile)
                    self.profiles[profile] = {
                        'profile': profile,
                        'profile_dir': pd,
                        'status': 'stopped'
                    }
def update_profiles ( self ) : for path in [ get_ipython_dir ( ) , os . getcwdu ( ) ] : for profile in list_profiles_in ( path ) : pd = self . get_profile_dir ( profile , path ) if profile not in self . profiles : self . log . debug ( "Adding cluster profile '%s'" % profile ) self . profiles [ profile ] = { 'profile' : profile , 'profile_dir' : pd , 'status' : 'stopped' }
List all profiles in the ipython_dir and cwd.
List all profiles in the ipython_dir and cwd .