commit | dd1a8466f522f5e4ba656425b51398fe52e4700f | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Oct 26 18:30:41 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Oct 26 18:30:41 2007 +0000 |
tree | 1730b9dd755397fe350d014c6295cd15345ffb40 | |
parent | 1e45f80b2273ceed882bb16016140746eb3e7d03 [diff] |
Fix new pop() method on os.environ on ignorecase-platforms.
diff --git a/Lib/os.py b/Lib/os.py index ccc11f4..9993a07 100644 --- a/Lib/os.py +++ b/Lib/os.py
@@ -452,7 +452,7 @@ del self.data[key] def pop(self, key, *args): unsetenv(key) - return self.data.pop(key, *args) + return self.data.pop(key.upper(), *args) def has_key(self, key): return key.upper() in self.data def __contains__(self, key):