Bug 3011: change old-style classes to new-style classes
svn: r12561
This commit is contained in:
parent
021b754939
commit
5c9d8ab7ff
@ -87,9 +87,9 @@ class Tool(object):
|
|||||||
# FIXME: pass in person_id
|
# FIXME: pass in person_id
|
||||||
self.options = options_class(name, None, dbstate)
|
self.options = options_class(name, None, dbstate)
|
||||||
else: # must be some kind of class or we get a TypeError
|
else: # must be some kind of class or we get a TypeError
|
||||||
self.options = option_class(name)
|
self.options = options_class(name)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
self.options = option_class
|
self.options = options_class
|
||||||
self.options.load_previous_values()
|
self.options.load_previous_values()
|
||||||
|
|
||||||
def run_tool(self):
|
def run_tool(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user