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
src
ArgHandler.pyAutoComp.pyBaseDoc.py
BasicUtils
Config
DataViews
DateEdit.py
DateHandler
DbLoader.pyDbManager.py
DisplayModels
DisplayState.py
Editors
ExportOptions.py
Filters
GrampsCfg.py
GrampsDbUtils
GrampsLogger
LdsUtils.pyListModel.pyLru.pyManagedWindow.py
Merge
Navigation.pyPageView.py
PluginUtils
QuestionDialog.pyRecentFiles.pyRelationship.py
ReportBase
ScratchPad.py
Simple
Sort.pySpell.pySubstKeywords.pyTipOfDay.pyToolTips.pyUtils.pyViewManager.py
docgen
gen
gramps_main.py
plugins
widgets

@@ -187,7 +187,7 @@ def fix_spaces(text_list):
#
#-------------------------------------------------------------------------
class ImportInfo:
class ImportInfo(object):
"""
Class object that can hold information about the import
"""
@@ -288,7 +288,7 @@ class ImportInfo:
)
return txt
class LineParser:
class LineParser(object):
def __init__(self, filename):
self.count = 0
@@ -2382,7 +2382,7 @@ def build_place_title(loc):
# VersionParser
#
#-------------------------------------------------------------------------
class VersionParser:
class VersionParser(object):
"""
Utility class to quickly get the versions from an XML file.
"""