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

@@ -58,7 +58,7 @@ from glade import Glade
# GeneWebWriterOptionBox class
#
#-------------------------------------------------------------------------
class GeneWebWriterOptionBox:
class GeneWebWriterOptionBox(object):
"""
Create a VBox with the option widgets and define methods to retrieve
the options.
@@ -138,7 +138,7 @@ class GeneWebWriterOptionBox:
else:
self.images_path = ""
class GeneWebWriter:
class GeneWebWriter(object):
def __init__(self, database, filename="", option_box=None,
callback=None):
self.db = database