view feedupdate-main.py @ 129:5bb58c956e48 backend

get rid of the toplevel util module, in only contained unused functions
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 Aug 2011 15:06:02 +0200
parents 32a173cb081c
children
line wrap: on
line source

#!/usr/bin/env python

import logging
from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend

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