X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/95faa22cbd3f1fc6dc059fd585cc813de4b886b4..1ca21d260eed935ea49c846dfd9ce217d8685778:/routefs/__init__.py diff --git a/routefs/__init__.py b/routefs/__init__.py index 2c62ae5..c3b0357 100644 --- a/routefs/__init__.py +++ b/routefs/__init__.py @@ -86,6 +86,8 @@ class RouteFS(fuse.Fuse): return NoEntry() controller = match.pop('controller') result = getattr(self, controller)(**match) + if result is None: + return NoEntry() if type(result) is str: result = File(result) if type(result) is list: