From 5c9d8ab7ff9e56961ca2de98b934563ad6a17f36 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Thu, 21 May 2009 20:58:12 +0000 Subject: [PATCH] Bug 3011: change old-style classes to new-style classes svn: r12561 --- src/PluginUtils/_Tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PluginUtils/_Tool.py b/src/PluginUtils/_Tool.py index 88ac9b291..639bcc96c 100644 --- a/src/PluginUtils/_Tool.py +++ b/src/PluginUtils/_Tool.py @@ -87,9 +87,9 @@ class Tool(object): # FIXME: pass in person_id self.options = options_class(name, None, dbstate) else: # must be some kind of class or we get a TypeError - self.options = option_class(name) + self.options = options_class(name) except TypeError: - self.options = option_class + self.options = options_class self.options.load_previous_values() def run_tool(self):