summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorBoris Pavlovic <boris@pavlovic.me>2013-01-28 17:16:15 +0400
committerBoris Pavlovic <boris@pavlovic.me>2013-01-29 00:50:13 +0400
commit487384fcc864ef1955f99cdf713cf5c2d77ec023 (patch)
treebd6939e50d850c4196040b2936b5786871120ce2 /nova/context.py
parente1ce3878b951ea491548c129453bb84a77205649 (diff)
downloadnova-487384fcc864ef1955f99cdf713cf5c2d77ec023.tar.gz
nova-487384fcc864ef1955f99cdf713cf5c2d77ec023.tar.xz
nova-487384fcc864ef1955f99cdf713cf5c2d77ec023.zip
Fix missing wrap_db_error for Session.execute() method
We should add wrap_db_error for Session.execute() method, because Query.update() method will call Session.execute() and it is not inside Session.flush(), so exceptions from Query.update() wouldn't be wrapped. Add test for Session.flush() wrapper Add test for Session.execute() wrapper Fixes bug 1107890 Change-Id: I96894e502f9f279999b61a1e66469e34a07a022d
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions