X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/44655c396b1b0ef361216385bbd1b2b866e9b922..refs/heads/dev:/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: