comparison backend/sqlalchemy/Feed.py @ 124:a4b2077c9603 backend

editing a feed's properties is implemented through the backend now
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 Aug 2011 11:02:53 +0200
parents 04a730f9d07d
children a3c945ce434c
comparison
equal deleted inserted replaced
123:862760b161b4 124:a4b2077c9603
42 self.next_update = datetime.now() + delta 42 self.next_update = datetime.now() + delta
43 43
44 def markAllEntriesRead(self): 44 def markAllEntriesRead(self):
45 for entry in self.entries: 45 for entry in self.entries:
46 entry.markRead() 46 entry.markRead()
47
48 def takeChangesFrom(self, dict):
49 for key in dict.keys():
50 setattr(self, key, dict[key])