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

@@ -181,7 +181,7 @@ def _get_subject(options, dbase):
# Book Item class
#
#------------------------------------------------------------------------
class BookItem:
class BookItem(object):
"""
Interface into the book item -- a smallest element of the book.
"""
@@ -252,7 +252,7 @@ class BookItem:
# Book class
#
#------------------------------------------------------------------------
class Book:
class Book(object):
"""
Interface into the user-defined book -- a collection of book items.
"""
@@ -359,7 +359,7 @@ class Book:
# BookList class
#
#------------------------------------------------------------------------
class BookList:
class BookList(object):
"""
Interface into the user-defined list of books.
@@ -552,7 +552,7 @@ class BookParser(handler.ContentHandler):
# BookList Display class
#
#------------------------------------------------------------------------
class BookListDisplay:
class BookListDisplay(object):
"""
Interface into a dialog with the list of available books.