view feedupdate.py @ 134:40163eac0d27

rename feedupdate-main to feedupdate, adjust the launch script
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 23 Aug 2011 03:49:29 +0200
parents feedupdate-main.py@32a173cb081c
children 5b131f82057d
line wrap: on
line source

#!/usr/bin/env python

import logging
#from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend
from backend.couchdb.CouchDbBackend import CouchDbBackend

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
#    backend = SqlAlchemyBackend()
    backend = CouchDbBackend()
    backend.updateAllFeeds()
    backend.expireFeedEntries()
    backend.dispose()