(variables_mapping)
set variables mapping to os.environ
set variables mapping to os.environ
set variables mapping to os . environ
def set_os_environ(variables_mapping):
    """ set variables mapping to os.environ
    """
    for variable in variables_mapping:
        os.environ[variable] = variables_mapping[variable]
        logger.log_debug("Set OS environment variable: {}".format(variable))
def set_os_environ ( variables_mapping ) : for variable in variables_mapping : os . environ [ variable ] = variables_mapping [ variable ] logger . log_debug ( "Set OS environment variable: {}" . format ( variable ) )