Beispiel #1
0
 def add_news(self, path, arg):
     book_id = add_news(self.new_api, path, arg, dbapi=self)
     if book_id is not None:
         self.data.books_added((book_id, ))
     return book_id
Beispiel #2
0
 def add_news(self, path, arg):
     return add_news(self.new_api, path, arg)
Beispiel #3
0
 def add_news(self, path, arg):
     book_id = add_news(self.new_api, path, arg, dbapi=self)
     if book_id is not None:
         self.data.books_added((book_id,))
     return book_id
Beispiel #4
0
 def add_news(self, path, arg):
     book_id = add_news(self.new_api, path, arg)
     self.data.books_added((book_id,))
     return book_id