diff options
| author | Chiradeep Vittal <chiradeep@chiradeep-lt2> | 2010-10-14 13:37:49 -0700 |
|---|---|---|
| committer | Chiradeep Vittal <chiradeep@chiradeep-lt2> | 2010-10-14 13:37:49 -0700 |
| commit | a58648f0ce5472e0b671d1b043fc4e0afd01658c (patch) | |
| tree | 25c404aad25af9156c175e23d39a924d40a87655 | |
| parent | b328bac09fee6ff2de6e8326e655ee648bda5e2d (diff) | |
| download | nova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.tar.gz nova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.tar.xz nova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.zip | |
remove nonexistent exception
| -rw-r--r-- | nova/virt/hyperv.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/hyperv.py b/nova/virt/hyperv.py index 968889116..9adb2f00a 100644 --- a/nova/virt/hyperv.py +++ b/nova/virt/hyperv.py @@ -161,8 +161,7 @@ class HyperVConnection(object): success = (ret_val == 0) if not success: - raise VmResourceAllocationException('Failed to create VM %s', - instance.name) + raise Exception('Failed to create VM %s', instance.name) logging.debug('Created VM %s...', instance.name) vm = self._conn.Msvm_ComputerSystem(ElementName=instance.name)[0] |
