Mercurial > hg > Feedworm
view feedupdate.py @ 169:91a24f499318
introdue an abstraction for the name of the database so it can be changed via commandline parameter
author | dirk |
---|---|
date | Fri, 09 Sep 2011 14:52:54 +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()