From ec2b42c3be7b30c4db853b327e9ac1663f688e32 Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 31 Oct 2006 15:32:47 +0000 Subject: [PATCH] removed debbuging output --- pythonrewrite/bin/WebInterfaceSites.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pythonrewrite/bin/WebInterfaceSites.py b/pythonrewrite/bin/WebInterfaceSites.py index 79df20b..1e1139f 100755 --- a/pythonrewrite/bin/WebInterfaceSites.py +++ b/pythonrewrite/bin/WebInterfaceSites.py @@ -33,14 +33,8 @@ class PluginIconHandler: for plugin in plugins.getPlugins(): if not plugin: continue plname = plugin.getName() - ## this should be the "easiest" way to expose all plugins as URLs - x = lambda: plugin.getIcon() - print x - print plugin.getIcon - def getIcon(p): - return p.getIcon() + ## expose the getIcon function of this plugin setattr(self, plname, plugin.getIcon) - ## the function is exposed in the CryptoBoxPlugin class - it did not work here