Bug 3011: change old-style classes to new-style classes

svn: r12561
This commit is contained in:
Gerald Britton 2009-05-21 20:58:12 +00:00
parent 021b754939
commit 5c9d8ab7ff

View File

@ -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):