diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-13 08:45:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-13 08:45:14 (GMT) |
commit | ffadbb7ee7ff770d818607f6c03ef6c37a177a6f (patch) | |
tree | e12cbf3889d055b0899ff61d3ed8a00975d57a91 /Lib | |
parent | dbb101909d4bcc7cfe7a8063bb4ac4ec879ecac8 (diff) | |
download | cpython-ffadbb7ee7ff770d818607f6c03ef6c37a177a6f.zip cpython-ffadbb7ee7ff770d818607f6c03ef6c37a177a6f.tar.gz cpython-ffadbb7ee7ff770d818607f6c03ef6c37a177a6f.tar.bz2 |
Fixed typo in previous commit (issue #6815).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/posixpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 9c11d8a..fd63f97 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -322,7 +322,7 @@ def expandvars(path): 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: |