Kaydet (Commit) dd1a8466 authored tarafından Georg Brandl's avatar Georg Brandl

Fix new pop() method on os.environ on ignorecase-platforms.

üst 1e45f80b
......@@ -452,7 +452,7 @@ else:
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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment