environment/lib/python2.7/site-packages/IPython/zmq/kernelapp.py
def log_connection_info(self):
        """display connection info, and store ports"""
        basename = os.path.basename(self.connection_file)
        if basename == self.connection_file or \
            os.path.dirname(self.connection_file) == self.profile_dir.security_dir:
            # use shortname
            tail = basename
            if self.profile != 'default':
                tail += " --profile %s" % self.profile
        else:
            tail = self.connection_file
        self.log.critical("--existing %s", tail)


        self.ports = dict(shell=self.shell_port, iopub=self.iopub_port,
                                stdin=self.stdin_port, hb=self.hb_port)
def log_connection_info(self):
        basename = os.path.basename(self.connection_file)
        if basename == self.connection_file or \
            os.path.dirname(self.connection_file) == self.profile_dir.security_dir:
            # use shortname
            tail = basename
            if self.profile != 'default':
                tail += " --profile %s" % self.profile
        else:
            tail = self.connection_file
        self.log.critical("--existing %s", tail)


        self.ports = dict(shell=self.shell_port, iopub=self.iopub_port,
                                stdin=self.stdin_port, hb=self.hb_port)
def log_connection_info ( self ) : basename = os . path . basename ( self . connection_file ) if basename == self . connection_file or os . path . dirname ( self . connection_file ) == self . profile_dir . security_dir : # use shortname tail = basename if self . profile != 'default' : tail += " --profile %s" % self . profile else : tail = self . connection_file self . log . critical ( "--existing %s" , tail ) self . ports = dict ( shell = self . shell_port , iopub = self . iopub_port , stdin = self . stdin_port , hb = self . hb_port )
display connection info, and store ports
display connection info and store ports