Bug 3011: change old-style classes to new-style classes
svn: r12559
This commit is contained in:
@@ -68,7 +68,7 @@ def log2(val):
|
||||
# Layout class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class GenChart:
|
||||
class GenChart(object):
|
||||
|
||||
def __init__(self, generations):
|
||||
self.generations = generations
|
||||
|
||||
@@ -66,7 +66,7 @@ _PERSON_SPOUSE = 2
|
||||
# Layout class
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class GenChart:
|
||||
class GenChart(object):
|
||||
|
||||
def __init__(self, generations):
|
||||
self.generations = generations
|
||||
|
||||
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user