0004693: sorted list in Book Report's "Available Books" window
Patch from Paul Franklin. svn: r16959
This commit is contained in:
parent
5dc824215d
commit
76217f3af2
@ -412,8 +412,8 @@ class BookList(object):
|
||||
return self.bookmap[name]
|
||||
|
||||
def get_book_names(self):
|
||||
"Return a list of all the book names in the BookList"
|
||||
return self.bookmap.keys()
|
||||
"Return a list of all the book names in the BookList, sorted"
|
||||
return sorted(self.bookmap.keys())
|
||||
|
||||
def set_book(self, name, book):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user