# HG changeset patch # User dirk # Date 1315621573 -7200 # Node ID e8cc8698193834be04beb19f7c6a057436a48899 # Parent 98eaf0075a4434c70a51eb9dbd94ce2a4836d1d7 default DB name is feedworm, fix setting the dbname via commandline parameter diff -r 98eaf0075a44 -r e8cc86981938 backend/couchdb/CouchDb.py --- a/backend/couchdb/CouchDb.py Sat Sep 10 03:09:17 2011 +0200 +++ b/backend/couchdb/CouchDb.py Sat Sep 10 04:26:13 2011 +0200 @@ -1,7 +1,7 @@ from argparse import ArgumentParser -database = "feedtest" +database = "feedworm" def init(): parser = ArgumentParser() @@ -9,6 +9,7 @@ args = parser.parse_known_args() dbname = args[0].dbname if dbname is not None: + global database database = dbname #