removed depredation working, thanks Niphlod

This commit is contained in:
mdipierro
2012-10-04 20:17:12 -05:00
parent f0c84b5230
commit 28f914463b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-10-04 20:10:46) dev
Version 2.0.9 (2012-10-04 20:17:03) dev
+1 -1
View File
@@ -6599,7 +6599,7 @@ class DAL(object):
if args or kwargs:
raise RuntimeError, 'Cannot duplicate a Singleton'
except KeyError:
db = super(DAL, cls).__new__(cls, uri, *args, **kwargs)
db = super(DAL, cls).__new__(cls)
THREAD_LOCAL.db_instances[singleton_code] = db
db._singleton_code = singleton_code
return db