This commit is contained in:
Kovid Goyal 2011-10-13 07:17:07 +05:30
parent cadbff1290
commit 24ccb1a562

View File

@ -464,6 +464,13 @@ class DevicePlugin(Plugin):
''' '''
pass pass
def prepare_addable_books(self, paths):
'''
Given a list of paths, returns another list of paths. These paths
point to addable versions of the books.
'''
return paths
class BookList(list): class BookList(list):
''' '''
A list of books. Each Book object must have the fields A list of books. Each Book object must have the fields
@ -518,9 +525,3 @@ class BookList(list):
''' '''
raise NotImplementedError() raise NotImplementedError()
def prepare_addable_books(self, paths):
'''
Given a list of paths, returns another list of paths. These paths
point to addable versions of the books.
'''
return paths