Permalink
Browse files

removed depredation working, thanks Niphlod

  • Loading branch information...
1 parent f0c84b5 commit 28f914463b4ca0ca9c25d8d5f2f512cdcdb8bde3 @mdipierro mdipierro committed Oct 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 VERSION
  2. +1 −1 gluon/dal.py
View
@@ -1 +1 @@
-Version 2.0.9 (2012-10-04 20:10:46) dev
+Version 2.0.9 (2012-10-04 20:17:03) dev
View
@@ -6599,7 +6599,7 @@ def __new__(cls, uri='sqlite://dummy.db', *args, **kwargs):
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

0 comments on commit 28f9144

Please sign in to comment.