fix review idea
This commit is contained in:
parent
3bab170683
commit
8887317aca
|
@ -445,8 +445,7 @@ class _NormalAccessor(_Accessor):
|
||||||
|
|
||||||
# Helper for resolve()
|
# Helper for resolve()
|
||||||
if hasattr(os, "readlink"):
|
if hasattr(os, "readlink"):
|
||||||
def readlink(self, path):
|
readlink = os.readlink
|
||||||
return os.readlink(path)
|
|
||||||
else:
|
else:
|
||||||
def readlink(self, path):
|
def readlink(self, path):
|
||||||
raise NotImplementedError("readlink() not available on this system")
|
raise NotImplementedError("readlink() not available on this system")
|
||||||
|
|
Loading…
Reference in New Issue