diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-03-17 16:14:59 +0100 |
|---|---|---|
| committer | Soren Hansen <soren@linux2go.dk> | 2011-03-17 16:14:59 +0100 |
| commit | 1d64d0a3d7f25448361ce54e32bba3de68c7afd1 (patch) | |
| tree | 0b08225e5010f8cb649d8ff5a1496c7c350b09b9 /nova/api | |
| parent | 699abfe9e645ddbc854b42725247ab8fcd61517e (diff) | |
Remove unconditional raise, probably left over from debugging.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 40a9da0e7..e257e44e7 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -959,7 +959,7 @@ class CloudController(object): raise exception.NotFound(_('Image %s not found') % image_id) internal_id = image['id'] del(image['id']) - raise Exception(image) + image['properties']['is_public'] = (operation_type == 'add') return self.image_service.update(context, internal_id, image) |
