diff options
Diffstat (limited to 'sca-cpp/trunk/hosting/server/selector.py')
-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] |