X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/1302c811bd2477361bafea538653eff01f2f4e40..52e4d12ce32bb9aa4a9366ca3f9f57e191e3edc6:/routefs/examples/pyhesiodfs.py diff --git a/routefs/examples/pyhesiodfs.py b/routefs/examples/pyhesiodfs.py index 0392bce..92986a2 100755 --- a/routefs/examples/pyhesiodfs.py +++ b/routefs/examples/pyhesiodfs.py @@ -7,6 +7,7 @@ from routes import Mapper class PyHesiodFS(routefs.RouteFS): def __init__(self, *args, **kwargs): super(PyHesiodFS, self).__init__(*args, **kwargs) + self.fuse_args.add("allow_other", True) self.cache = {} @@ -30,7 +31,7 @@ class PyHesiodFS(routefs.RouteFS): return def getList(self, **kwargs): - return routefs.Directory(self.cache.keys() + ['README.txt']) + return self.cache.keys() + ['README.txt'] def getReadme(self, **kwargs): return """