Mercurial > hg > Feedworm
view feedupdate.py @ 186:6cbd4420c187
when replicating, also compact the database
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 13 Sep 2011 17:43:22 +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()