From 0e86ad65cc532ca648d5441c4431c4f8b5ee5df5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 4 Feb 2011 20:43:19 +0100 Subject: py 2.5 fix --- module/HookManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/HookManager.py') diff --git a/module/HookManager.py b/module/HookManager.py index 6c6c0170f..018508c51 100644 --- a/module/HookManager.py +++ b/module/HookManager.py @@ -147,4 +147,4 @@ class HookManager(): def activePlugins(self): """ returns all active plugins """ - return filter(methodcaller("isActivated"), self.plugins) + return [x for x in self.plugins if x.isActivated()] -- cgit v1.2.3