[Python-checkins] cpython (merge 3.3 -> default): Fixed typo in previous commit (issue #6815).

serhiy.storchaka python-checkins at python.org
Thu Feb 13 09:49:52 CET 2014


http://hg.python.org/cpython/rev/6825395e6107
changeset: 89181:6825395e6107
parent: 89178:f3c146036e7c
parent: 89180:b5ad525076eb
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Feb 13 10:45:48 2014 +0200
summary:
 Fixed typo in previous commit (issue #6815).
files:
 Lib/posixpath.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -301,7 +301,7 @@
 name = name[1:-1]
 try:
 if environ is None:
- value = os.fsencode(os.environ[os.fsdecode(var)])
+ value = os.fsencode(os.environ[os.fsdecode(name)])
 else:
 value = environ[name]
 except KeyError:
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /