Commit 82f7a054 by willmcgugan

Docstring tweak

parent 7aa4ce76
...@@ -380,7 +380,7 @@ class FS(object): ...@@ -380,7 +380,7 @@ class FS(object):
try: try:
sys_path = self.getsyspath(path) sys_path = self.getsyspath(path)
except FSError: except NoSysPathError:
return "No description available" return "No description available"
if self.isdir(path): if self.isdir(path):
...@@ -476,7 +476,7 @@ class SubFS(FS): ...@@ -476,7 +476,7 @@ class SubFS(FS):
"""A SubFS represents a sub directory of another filesystem object. """A SubFS represents a sub directory of another filesystem object.
SubFS objects are return by opendir, which effectively creates a 'sandbox' SubFS objects are return by opendir, which effectively creates a 'sandbox'
filesystem that can not be used to access files / dirs outside of the sub directory. filesystem that can only access files / dirs under a root path within its 'parent' dir.
""" """
......
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