projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
45f442f
)
Fix bug in PithosBackendPool
author
Christos Stavrakakis
<cstavr@grnet.gr>
Wed, 12 Sep 2012 10:11:42 +0000
(13:11 +0300)
committer
Christos Stavrakakis
<cstavr@grnet.gr>
Wed, 12 Sep 2012 10:12:12 +0000
(13:12 +0300)
Get _trans from the DBWrapper
snf-pithos-app/pithos/api/util.py
patch
|
blob
|
history
diff --git
a/snf-pithos-app/pithos/api/util.py
b/snf-pithos-app/pithos/api/util.py
index
f8233f9
..
8b15089
100644
(file)
--- 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 = []