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

@@ -25,7 +25,7 @@ import BaseDoc
#
#
#------------------------------------------------------------------------
class SpreadSheetDoc:
class SpreadSheetDoc(object):
def __init__(self,type, orientation=BaseDoc.PAPER_PORTRAIT):
self.orientation = orientation
if orientation == BaseDoc.PAPER_PORTRAIT:

View File

@@ -23,7 +23,7 @@
#
#
#------------------------------------------------------------------------
class TabbedDoc:
class TabbedDoc(object):
def __init__(self, columns):
self.columns = columns
self.name = ""

View File

@@ -81,7 +81,7 @@ class DisplayBuf(ManagedWindow.ManagedWindow):
def get_title(self):
return self.title
class DocumentManager:
class DocumentManager(object):
def __init__(self, title, document, text_view):
self.title = title
self.document = document