Mercurial > hg > Feedworm
diff 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 |
line wrap: on
line diff
--- a/backend/sqlalchemy/Feed.py Mon Aug 22 10:30:33 2011 +0200 +++ b/backend/sqlalchemy/Feed.py Mon Aug 22 11:02:53 2011 +0200 @@ -43,4 +43,8 @@ def markAllEntriesRead(self): for entry in self.entries: - entry.markRead() \ No newline at end of file + entry.markRead() + + def takeChangesFrom(self, dict): + for key in dict.keys(): + setattr(self, key, dict[key])