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

@@ -86,7 +86,7 @@ def _make_cmp(a,b): return -cmp(a[1], b[1])
# NameDisplay class
#
#-------------------------------------------------------------------------
class NameDisplay:
class NameDisplay(object):
"""
Base class for displaying of Name instances.
"""

View File

@@ -40,7 +40,7 @@ import time
# Callback updater
#
#-------------------------------------------------------------------------
class UpdateCallback:
class UpdateCallback(object):
"""
Basic class providing way of calling the callback to update
things during lenghty operations.