diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-06-15 19:17:11 +0000 |
|---|---|---|
| committer | Rick Harris <rick.harris@rackspace.com> | 2011-06-15 19:17:11 +0000 |
| commit | 211b0eb5385acdfcd7a7da6efda8d7f3fbda3c55 (patch) | |
| tree | afcaee71f3a6c839522aa10b1a38c27d95d9d500 /nova/compute | |
| parent | da5e5106565f4999c1856be9c3230ba1a1505b82 (diff) | |
Fixing test_create_instance
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 8172e8600..30119d467 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -520,10 +520,7 @@ class API(base.Base): if uuid_like: uuid = instance_id - try: - instance = self.db.instance_get_by_uuid(context, uuid) - except Exception as e: - raise Exception(e) + instance = self.db.instance_get_by_uuid(context, uuid) else: instance = self.db.instance_get(context, instance_id) |
