diff options
| author | R David Murray <rdmurray@bitdance.com> | 2016-08-19 01:31:13 (GMT) |
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2016-08-19 01:31:13 (GMT) |
| commit | c19960385342e95da7437cec908c12ff5cd53bf2 (patch) | |
| tree | 1c421c1acf8ea245ba342dfa05d3e4bb57817109 /Lib/posixpath.py | |
| parent | 696738cf1bff86431fa611b78345db1434320ea4 (diff) | |
| parent | 750018b91aeb5dfb46dc1e156a8b4e7aefb6d59f (diff) | |
| download | cpython-c19960385342e95da7437cec908c12ff5cd53bf2.zip cpython-c19960385342e95da7437cec908c12ff5cd53bf2.tar.gz cpython-c19960385342e95da7437cec908c12ff5cd53bf2.tar.bz2 | |
Merge: #2466: ismount now recognizes mount points user can't access.
Diffstat (limited to 'Lib/posixpath.py')
| -rw-r--r-- | Lib/posixpath.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 7bb4d59..d9f3f99 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -193,6 +193,7 @@ def ismount(path): parent = join(path, b'..') else: parent = join(path, '..') + parent = realpath(parent) try: s2 = os.lstat(parent) except OSError: |
