pyca/utils.py
def try_mkdir(directory):
    '''Try to create a directory. Pass without error if it already exists.
    '''
    try:
        os.mkdir(directory)
    except OSError as err:
        if err.errno != errno.EEXIST:
            raise err
def try_mkdir(directory):
    '''Try to create a directory. Pass without error if it already exists.
    '''
    try:
        os.mkdir(directory)
    except OSError as err:
        if err.errno != errno.EEXIST:
            raise err
def try_mkdir ( directory ) : try : os . mkdir ( directory ) except OSError as err : if err . errno != errno . EEXIST : raise err
Try to create a directory. Pass without error if it already exists.
Try to create a directory . Pass without error if it already exists .