diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-05-30 14:56:09 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-05-30 14:56:09 +0930 |
commit | f7bad6d8ae52ccdc51a766242372362c616f6e81 (patch) | |
tree | f6bd87525b6fb94f831e43cead13f1540579b2b6 /nova/utils.py | |
parent | 783b0e836d9ba0630d4745a6457144fac6dfa9f0 (diff) | |
download | nova-f7bad6d8ae52ccdc51a766242372362c616f6e81.tar.gz nova-f7bad6d8ae52ccdc51a766242372362c616f6e81.tar.xz nova-f7bad6d8ae52ccdc51a766242372362c616f6e81.zip |
Raise exception instances not exception classes
Replaces deprecated syntax of raising an exception class
with raising an instance of the exception class instead
Change-Id: Icb127c6a93de7faab5db8d1f037095bbbb82a229
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions