82
83
def _realpath(self, path):
83
84
# paths returned from self.canonicalize() always start with
84
85
# a path separator. So if 'root' is just '/', this would cause
87
88
return self.canonicalize(path)
88
89
return self.root + self.canonicalize(path)