From 278e5256ba053ae534925987d86fa4b00fc84ccc Mon Sep 17 00:00:00 2001 From: Christos Stavrakakis Date: Wed, 12 Sep 2012 13:11:42 +0300 Subject: [PATCH] Fix bug in PithosBackendPool Get _trans from the DBWrapper --- snf-pithos-app/pithos/api/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snf-pithos-app/pithos/api/util.py b/snf-pithos-app/pithos/api/util.py index f8233f9..8b15089 100644 --- a/snf-pithos-app/pithos/api/util.py +++ b/snf-pithos-app/pithos/api/util.py @@ -832,7 +832,7 @@ class PithosBackendPool(ObjectPool): return True backend._use_count = c - if backend.trans is not None: + if backend.wrapper.trans is not None: backend.wrapper.rollback() if backend.messages: backend.messages = [] -- 1.7.10.4