Mercurial > hg > Feedworm
comparison backend/sqlalchemy/Feed.py @ 191:7157bfd3f4d4
remove obsolete methods
author | dirk |
---|---|
date | Wed, 21 Sep 2011 13:21:17 +0200 |
parents | a3c945ce434c |
children | bb3c851b18b1 |
comparison
equal
deleted
inserted
replaced
190:b7d41325386b | 191:7157bfd3f4d4 |
---|---|
39 | 39 |
40 def incrementNextUpdateDate(self): | 40 def incrementNextUpdateDate(self): |
41 delta = timedelta(minutes=self.update_interval) | 41 delta = timedelta(minutes=self.update_interval) |
42 self.next_update = datetime.now() + delta | 42 self.next_update = datetime.now() + delta |
43 | 43 |
44 def markAllEntriesRead(self): | |
45 for entry in self.entries: | |
46 entry.markRead() | |
47 | |
48 def takeChangesFrom(self, changes): | 44 def takeChangesFrom(self, changes): |
49 for key in changes.keys(): | 45 for key in changes.keys(): |
50 setattr(self, key, changes[key]) | 46 setattr(self, key, changes[key]) |