# HG changeset patch # User Dirk Olmes # Date 1314064169 -7200 # Node ID 40163eac0d272f90ad157ed90c85c1001e87cf4e # Parent 9e1e6b96d8b04315de9b10db5cf908a207fefdce rename feedupdate-main to feedupdate, adjust the launch script diff -r 9e1e6b96d8b0 -r 40163eac0d27 feedupdate-main.py --- a/feedupdate-main.py Tue Aug 23 03:44:08 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -#!/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() diff -r 9e1e6b96d8b0 -r 40163eac0d27 feedupdate.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/feedupdate.py Tue Aug 23 03:49:29 2011 +0200 @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import logging +#from backend.sqlalchemy.SqlAlchemyBackend import SqlAlchemyBackend +from backend.couchdb.CouchDbBackend import CouchDbBackend + +if __name__ == "__main__": + logging.basicConfig(level=logging.DEBUG) +# backend = SqlAlchemyBackend() + backend = CouchDbBackend() + backend.updateAllFeeds() + backend.expireFeedEntries() + backend.dispose() diff -r 9e1e6b96d8b0 -r 40163eac0d27 feedupdate.sh --- a/feedupdate.sh Tue Aug 23 03:44:08 2011 +0200 +++ b/feedupdate.sh Tue Aug 23 03:49:29 2011 +0200 @@ -1,4 +1,4 @@ #!/bin/bash DB_URL="mysql://root:mysql@xanthippe/feedworm?use_unicode=1&charset=utf8" -./feedupdate-main.py ${DB_URL} +./feedupdate.py ${DB_URL}