Revision 278e5256 snf-pithos-app/pithos/api/util.py

b/snf-pithos-app/pithos/api/util.py
832 832
            return True
833 833

  
834 834
        backend._use_count = c
835
        if backend.trans is not None:
835
        if backend.wrapper.trans is not None:
836 836
            backend.wrapper.rollback()
837 837
        if backend.messages:
838 838
            backend.messages = []

Also available in: Unified diff