def extend_env(extra_env):
    env = os.environ.copy()
    env.update(extra_env)
    return env
Copies and extends the current environment with the values present in
dataset/ETHPy150Open fusionbox/django-backupdb/backupdb/utils/processes.py/extend_env