Mercurial > hg > Feedworm
view feedupdate-main.py @ 128:32a173cb081c backend
move updating the feeds to the backend
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 22 Aug 2011 15:04:53 +0200 |
parents | 43c234c8fe87 |
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()