commit | a145317be9989bcb17f9631af7e2fc3d0e628669 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:15:07 2009 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sat Apr 25 12:15:07 2009 +0000 |
tree | 372cc24098212e52da14b58282b889b126fa149b | |
parent | 162641a24cf2228246a9b8d5e0ca415a32444d5f [diff] |
Issue #5837: Certain sequences of calls to set() and unset() for support.EnvironmentVarGuard objects restored the environment variables incorrectly on __exit__. Fix this by recording the initial value of each environment variable on the first access in set() or unset().