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

svn: r12559
This commit is contained in:
Gerald Britton
2009-05-21 17:19:50 +00:00
parent 316b997e6d
commit 021b754939
128 changed files with 229 additions and 235 deletions

View File

@@ -60,7 +60,7 @@ def writeData(database, filename, option_box=None, callback=None):
writer = FtreeWriter(database, filename, option_box, callback)
return writer.export_data()
class FtreeWriterOptionBox:
class FtreeWriterOptionBox(object):
"""
Create a VBox with the option widgets and define methods to retrieve
the options.
@@ -122,7 +122,7 @@ class FtreeWriterOptionBox:
# FtreeWriter
#
#-------------------------------------------------------------------------
class FtreeWriter:
class FtreeWriter(object):
def __init__(self, database, filename="", option_box=None,
callback = None):