Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed issue 1072

  • Loading branch information...
commit 62be48decf4e87785b20741f574b616871cd3667 1 parent 952a29d
@mdipierro mdipierro authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  VERSION
  2. +1 −1  gluon/dal.py
View
2  VERSION
@@ -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
2  gluon/dal.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.