nova/nova/volume
Victor Stinner ccff53d521 Fix raise syntax for Python 3
The syntax "raise a, b, c" and "raise a, b" are invalid in Python 3.

To be compatible with Python 2 and Python 3, this change:

* Replace "raise exc[0], exc[1], exc[2]" with "six.reraise(*exc)"
* Replace "raise exc_type, exc_value, exc_tb" with
  "six.reraise(exc_type, exc_value, exc_tb)"
* Replace "raise exc, msg" with "raise exc(msg)"

This patch was generated by the sixer tool version 0.2 with the "raise"
operation:
https://pypi.python.org/pypi/sixer

Manual changes:

* Ignore changes on comments

Blueprint nova-python3
Change-Id: I9e75321776f7734604fb1b524684065e25510a03
2015-05-13 11:26:35 +02:00
..
encryptors fix 'Empty module name' exception attaching volume 2015-02-25 09:34:17 +08:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
cinder.py Fix raise syntax for Python 3 2015-05-13 11:26:35 +02:00