From 2b33c420a4ef1b39029f6c61fa7344532bc8a7f8 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Thu, 6 Mar 2014 14:09:19 +0100 Subject: [PATCH] [gen] Bugfix in portlet. --- gen/mixins/ToolMixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/mixins/ToolMixin.py b/gen/mixins/ToolMixin.py index df53255..d19d52a 100644 --- a/gen/mixins/ToolMixin.py +++ b/gen/mixins/ToolMixin.py @@ -468,7 +468,7 @@ class ToolMixin(BaseMixin): if not klass.__dict__.has_key('create'): return ['form'] else: - means = pythonClass.create + means = klass.create if means: if isinstance(means, basestring): res = [means] else: res = means