X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/bd65e477ab84052e7ba142d2b7839b394e2c378f..ca61e30d8f2b2a794374ab3f424df9d5337e778a:/routefs/__init__.py diff --git a/routefs/__init__.py b/routefs/__init__.py index a9a9144..8d620e6 100644 --- a/routefs/__init__.py +++ b/routefs/__init__.py @@ -43,13 +43,13 @@ class RouteFS(fuse.Fuse): def __init__(self, *args, **kwargs): super(RouteFS, self).__init__(*args, **kwargs) - self.map = self.make_map() self.map.create_regs(self.controllers) - - def make_map(self): + + @property + def map(self): """ - This method should be overridden by descendents of RouteFS to - define the routing for the filesystem + This property should be overridden by descendents of RouteFS + to define the routing for the filesystem """ m = routes.Mapper()