From 6e700ba4ad53dc4896f66c7df867de46556caf7f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 17 Jan 2014 11:28:46 +0100 Subject: [PATCH] Fix inspect namespacing --- qutebrowser/commands/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/commands/utils.py b/qutebrowser/commands/utils.py index 47264e957..fef65d60d 100644 --- a/qutebrowser/commands/utils.py +++ b/qutebrowser/commands/utils.py @@ -9,7 +9,8 @@ def register_all(): return (inspect.isclass(obj) and obj.__module__ == 'qutebrowser.commands.commands') - for (name, cls) in inspect.getmembers(commands, is_cmd): + for (name, cls) in inspect.getmembers(qutebrowser.commands.commands, + is_cmd): if cls.bind: if cls.name is None: name = cls.__name__.tolower()