environment/lib/python2.7/site-packages/IPython/zmq/session.py
def default_secure(cfg):
    """Set the default behavior for a config environment to be secure.
    
    If Session.key/keyfile have not been set, set Session.key to
    a new random UUID.
    """
    
    if 'Session' in cfg:
        if 'key' in cfg.Session or 'keyfile' in cfg.Session:
            return
    # key/keyfile not specified, generate new UUID:
    cfg.Session.key = str_to_bytes(str(uuid.uuid4()))
def default_secure(cfg):
    """Set the default behavior for a config environment to be secure.
    
    If Session.key/keyfile have not been set, set Session.key to
    a new random UUID.
    """
    
    if 'Session' in cfg:
        if 'key' in cfg.Session or 'keyfile' in cfg.Session:
            return
    # key/keyfile not specified, generate new UUID:
    cfg.Session.key = str_to_bytes(str(uuid.uuid4()))
def default_secure ( cfg ) : if 'Session' in cfg : if 'key' in cfg . Session or 'keyfile' in cfg . Session : return # key/keyfile not specified, generate new UUID: cfg . Session . key = str_to_bytes ( str ( uuid . uuid4 ( ) ) )
Set the default behavior for a config environment to be secure.
    
    If Session.key/keyfile have not been set, set Session.key to
    a new random UUID.
Set the default behavior for a config environment to be secure . If Session . key / keyfile have not been set set Session . key to a new random UUID .