def get_env_str(env):
    return ' '.join("{0}='{1}'".format(k, v) for k, v in env.items())
Gets a string representation of a dict as though it contained environment
dataset/ETHPy150Open fusionbox/django-backupdb/backupdb/utils/processes.py/get_env_str