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

@@ -68,7 +68,7 @@ def log2(val):
# Layout class
#
#------------------------------------------------------------------------
class GenChart:
class GenChart(object):
def __init__(self, generations):
self.generations = generations

View File

@@ -66,7 +66,7 @@ _PERSON_SPOUSE = 2
# Layout class
#
#------------------------------------------------------------------------
class GenChart:
class GenChart(object):
def __init__(self, generations):
self.generations = generations

View File

@@ -78,7 +78,7 @@ class _options:
# Data extraction methods from the database
#
#------------------------------------------------------------------------
class Extract:
class Extract(object):
def __init__(self):
"""Methods for extracting statistical data from the database"""