Commit bd4ad0d3 by rfkelly0

fix MountFS.getsyspath for cases for nothing is mounted at that path

parent f00a97c8
...@@ -61,7 +61,7 @@ class MountFS(FS): ...@@ -61,7 +61,7 @@ class MountFS(FS):
def getsyspath(self, path, allow_none=False): def getsyspath(self, path, allow_none=False):
fs, mount_path, delegate_path = self._delegate(path) fs, mount_path, delegate_path = self._delegate(path)
if fs is self: if fs is self or fs is None:
if allow_none: if allow_none:
return None return None
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment