From c0ad842851a31c9c638fcc6ae626db200a4b75e5 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 30 Sep 2012 07:30:08 -0500 Subject: [PATCH] fixed admin and new dal --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 5f367555..ef04d69a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-30 07:26:14) dev +Version 2.0.9 (2012-09-30 07:30:01) dev diff --git a/gluon/dal.py b/gluon/dal.py index ef9df5c3..e46a0fc0 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6577,7 +6577,7 @@ class DAL(object): if 'singleton_code' in kwargs: singleton_code = kwargs['singleton_code'] del kwargs['singleton_code'] - singleton_code = hashlib.md5(uri).hexdigest() + singleton_code = hashlib.md5(repr(uri)).hexdigest() try: db = thread_local.db_instances[singleton_code] if args or kwargs: