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

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


http://hg.python.org/cpython/rev/b5ad525076eb
changeset:   89180:b5ad525076eb
branch:      3.3
parent:      89177:08746e015c64
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Feb 13 10:45:14 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
@@ -322,7 +322,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