environment/lib/python2.7/site-packages/IPython/parallel/apps/ipengineapp.py
def load_connector_file(self):
        """load config from a JSON connector file,
        at a *lower* priority than command-line/config files.
        """
        
        self.log.info("Loading url_file %r", self.url_file)
        config = self.config
        
        with open(self.url_file) as f:
            d = json.loads(f.read())
        
        if 'exec_key' in d:
            config.Session.key = cast_bytes(d['exec_key'])
        
        try:
            config.EngineFactory.location
        except AttributeError:
            config.EngineFactory.location = d['location']
        
        d['url'] = disambiguate_url(d['url'], config.EngineFactory.location)
        try:
            config.EngineFactory.url
        except AttributeError:
            config.EngineFactory.url = d['url']
        
        try:
            config.EngineFactory.sshserver
        except AttributeError:
            config.EngineFactory.sshserver = d['ssh']
def load_connector_file(self):
        """load config from a JSON connector file,
        at a *lower* priority than command-line/config files.
        """
        
        self.log.info("Loading url_file %r", self.url_file)
        config = self.config
        
        with open(self.url_file) as f:
            d = json.loads(f.read())
        
        if 'exec_key' in d:
            config.Session.key = cast_bytes(d['exec_key'])
        
        try:
            config.EngineFactory.location
        except AttributeError:
            config.EngineFactory.location = d['location']
        
        d['url'] = disambiguate_url(d['url'], config.EngineFactory.location)
        try:
            config.EngineFactory.url
        except AttributeError:
            config.EngineFactory.url = d['url']
        
        try:
            config.EngineFactory.sshserver
        except AttributeError:
            config.EngineFactory.sshserver = d['ssh']
def load_connector_file ( self ) : self . log . info ( "Loading url_file %r" , self . url_file ) config = self . config with open ( self . url_file ) as f : d = json . loads ( f . read ( ) ) if 'exec_key' in d : config . Session . key = cast_bytes ( d [ 'exec_key' ] ) try : config . EngineFactory . location except AttributeError : config . EngineFactory . location = d [ 'location' ] d [ 'url' ] = disambiguate_url ( d [ 'url' ] , config . EngineFactory . location ) try : config . EngineFactory . url except AttributeError : config . EngineFactory . url = d [ 'url' ] try : config . EngineFactory . sshserver except AttributeError : config . EngineFactory . sshserver = d [ 'ssh' ]
load config from a JSON connector file,
        at a *lower* priority than command-line/config files.
load config from a JSON connector file at a * lower * priority than command - line / config files .