manila/manila/compute
vponomaryov 95940a4085 Fix handling of Novaclient exceptions
If Novaclient returns exception, then Manila wrapper for Novaclient
fails with following error:

File "/opt/stack/new/manila/manila/compute/nova.py", line 160, in wrapper
    return res
UnboundLocalError: local variable 'res' referenced before assignment

So, fix it and cover with unit tests.

Change-Id: I5eec4b9e9f3857307daa2ade516f76c044c01631
Closes-Bug: #1530811
2016-01-04 12:46:03 +02:00
..
__init__.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
nova.py Fix handling of Novaclient exceptions 2016-01-04 12:46:03 +02:00