From 76e5181cade262b86610dcc851bcb4452196ccdc Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Feb 2009 21:25:08 +0100 Subject: small speedups/cleanups by moritz venn --- lib/python/Components/HelpMenuList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/HelpMenuList.py') diff --git a/lib/python/Components/HelpMenuList.py b/lib/python/Components/HelpMenuList.py index 04815c8d..2a7bd995 100755 --- a/lib/python/Components/HelpMenuList.py +++ b/lib/python/Components/HelpMenuList.py @@ -38,7 +38,7 @@ class HelpMenuList(GUIComponent): entry.append( (actionmap, context, action, name ) ) - if type(help).__name__== 'list': + if isinstance(help, list): self.extendedHelp = True print "extendedHelpEntry found" entry.append( (eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 400, 26, 0, 0, help[0]) ) -- cgit v1.2.3