Commit ea7f6b43 by willmcgugan@gmail.com

fixes

parent 5af2e965
......@@ -79,7 +79,7 @@ class RawWrapper(object):
def read1(self, n=-1):
if self.is_io:
return self.read1(n)
return self._f.read1(n)
return self.read(n)
def readall(self):
......
......@@ -161,7 +161,7 @@ class MountFS(FS):
return "Mount dir"
else:
return "Mounted file"
return "Mounted dir, maps to path %s on %s" % (delegate_path or '/', str(fs))
return "Mounted dir, maps to path %s on %s" % (abspath(delegate_path) or '/', str(fs))
@synchronize
def isdir(self, path):
......
......@@ -235,7 +235,7 @@ class MultiFS(FS):
name, fs = self.which(path)
if name is None:
return ""
return "%s, on %s (%s)" % (fs.desc(path), name, fs)
return "%s (in %s)" % (fs.desc(path), name)
@synchronize
def open(self, path, mode='r', buffering=-1, encoding=None, errors=None, newline=None, line_buffering=False, **kwargs):
......
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