def realpath(self, path): if path in (ShareRoot, InvalidPath): return path else: return AbstractedFS.realpath(self, path)