@contextmanager
def LocalEnv(local_env):
  old_env = os.environ.copy()
  os.environ.update(local_env)
  try:
    yield
  finally:
    os.environ.clear()
    os.environ.update(old_env)
Merge a set of single band images into a new multiband image.
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestGyp.py/LocalEnv--crossover with--dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/site-packages/PIL/Image.py/merge