Permalink
Browse files

fixed issue 1072

  • Loading branch information...
1 parent 952a29d commit 62be48decf4e87785b20741f574b616871cd3667 @mdipierro mdipierro committed Oct 7, 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-07 10:12:01) dev
+Version 2.0.9 (2012-10-07 10:13:16) dev
View
@@ -521,7 +521,7 @@ def close(self,action='commit',really=True):
@staticmethod
def close_all_instances(action):
""" to close cleanly databases in a multithreaded environment """
- db_group = getattr(THREAD_LOCAL,'db_instances',{}).items()
+ dbs = getattr(THREAD_LOCAL,'db_instances',{}).items()
for db_uid, db_group in dbs:
for db in db_group:
db._adapter.close(action)

0 comments on commit 62be48d

Please sign in to comment.