diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-20 07:20:38 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-20 07:20:38 +0000 |
commit | 1a01ce4fe5882fcc5b312172d7fdf409e0cb9765 (patch) | |
tree | a01683ba47a8cc7137700b3c33b5a7a14c153e2c /sca-cpp/trunk/hosting/server/selector.py | |
parent | 3479cfa1585b752df58873b941b5bfd06a879b04 (diff) |
Fixes to the hosting module to correctly store ATOM feeds instead of raw collections and work with the sqldb component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/hosting/server/selector.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-cpp/trunk/hosting/server/selector.py b/sca-cpp/trunk/hosting/server/selector.py index 84ade136ba..7fcdd65a0f 100644 --- a/sca-cpp/trunk/hosting/server/selector.py +++ b/sca-cpp/trunk/hosting/server/selector.py @@ -19,10 +19,10 @@ from util import * # Get the database to use for a particular key -def get(id, db1, db2): +def get(id, db): if isNil(id): - return db1 + return db[0] if cadr(id)[0:1].lower() < 'm': - return db1 - return db2 + return db[0] + return db[1] |