Mercurial > hg > Feedworm
changeset 191:7157bfd3f4d4
remove obsolete methods
author | dirk |
---|---|
date | Wed, 21 Sep 2011 13:21:17 +0200 |
parents | b7d41325386b |
children | 9d422fa90096 |
files | backend/couchdb/CouchDbBackend.py backend/sqlalchemy/Feed.py backend/sqlalchemy/SqlAlchemyBackend.py |
diffstat | 3 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py Wed Sep 21 12:52:34 2011 +0200 +++ b/backend/couchdb/CouchDbBackend.py Wed Sep 21 13:21:17 2011 +0200 @@ -73,12 +73,6 @@ self.selectedFeedEntry.toggleRead(self.database) - def toggleRead(self, feedEntry): - raise Exception("not yet implemented") - - def markAllEntriesRead(self, feed): - raise Exception("not yet implemented") - def createFeed(self, url): feed = Feed.create(url) feed.store(self.database)
--- a/backend/sqlalchemy/Feed.py Wed Sep 21 12:52:34 2011 +0200 +++ b/backend/sqlalchemy/Feed.py Wed Sep 21 13:21:17 2011 +0200 @@ -41,10 +41,6 @@ delta = timedelta(minutes=self.update_interval) self.next_update = datetime.now() + delta - def markAllEntriesRead(self): - for entry in self.entries: - entry.markRead() - def takeChangesFrom(self, changes): for key in changes.keys(): setattr(self, key, changes[key])
--- a/backend/sqlalchemy/SqlAlchemyBackend.py Wed Sep 21 12:52:34 2011 +0200 +++ b/backend/sqlalchemy/SqlAlchemyBackend.py Wed Sep 21 13:21:17 2011 +0200 @@ -64,10 +64,6 @@ def _retrieveEntriesForSelectedFeed(self, hideReadEntries): return self.selectedFeed.entriesSortedByUpdateDate(hideReadEntries) - def markSelectedFeedAsRead(self): - self.selectedFeed.markAllEntriesRead() - self.session.commit() - def deleteSelectedFeed(self): self.session.delete(self.selectedFeed) self.session.commit()