Mercurial > hg > Feedworm
comparison 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 |
comparison
equal
deleted
inserted
replaced
133:9e1e6b96d8b0 | 134:40163eac0d27 |
---|---|
1 #!/usr/bin/env python | |
2 | |
3 import logging | |
4 #from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend | |
5 from backend.couchdb.CouchDbBackend import CouchDbBackend | |
6 | |
7 if __name__ == "__main__": | |
8 logging.basicConfig(level=logging.DEBUG) | |
9 # backend = SqlAlchemyBackend() | |
10 backend = CouchDbBackend() | |
11 backend.updateAllFeeds() | |
12 backend.expireFeedEntries() | |
13 backend.dispose() |