view feedupdate.py @ 150:babe14449162

the entries for the selected feeds had to be set onto the item delegate so had access to the selected feed entry. Keep the list in one place only (the model) and access it from the item delegate.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 27 Aug 2011 06:43:28 +0200
parents 5b131f82057d
children bb3c851b18b1
line wrap: on
line source

#!/usr/bin/env python

import BackendFactory
import logging

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
    backend = BackendFactory.createBackend()
    backend.updateAllFeeds()
    backend.expireFeedEntries()
    backend.dispose()