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