Update PyHesiodFS example to include controllers list
[invirt/packages/python-routefs.git] / routefs / examples / pyhesiodfs.py
index 40ebcb2..880dbb4 100755 (executable)
@@ -5,8 +5,10 @@ import routefs
 from routes import Mapper
 
 class PyHesiodFS(routefs.RouteFS):
 from routes import Mapper
 
 class PyHesiodFS(routefs.RouteFS):
+    controllers = ['getList', 'getReadme', 'getLocker']
     def __init__(self, *args, **kwargs):
         super(PyHesiodFS, self).__init__(*args, **kwargs)
     def __init__(self, *args, **kwargs):
         super(PyHesiodFS, self).__init__(*args, **kwargs)
+        self.fuse_args.add("allow_other", True)
         
         self.cache = {}
     
         
         self.cache = {}