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: