0004693: sorted list in Book Report's "Available Books" window
Patch from Paul Franklin. svn: r16960
This commit is contained in:
parent
be3fb894e3
commit
4cfc21befd
@ -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