diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-05-18 10:10:10 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-05-18 10:10:10 -0400 |
| commit | a9738fe5196cc1ed0715c3d96c692e782e77fec6 (patch) | |
| tree | d90d86db69196c79d804a7c005a0e2ae4e64c1d7 /nova/utils.py | |
| parent | d3f67f97d81185158f611c3bc9bd5542a7fed788 (diff) | |
made ImageControllerWithGlanceServiceTests pass
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index 46dfc82e9..04acfc417 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -752,7 +752,8 @@ def parse_image_ref(image_ref): if is_int(image_id): image_id = int(image_id) else: - raise Exception(_('image_ref [%s] is missing a proper id') % image_ref) + raise exception.ImageNotFound( + _('image_ref [%s] is missing a proper id') % image_ref) return (image_id, host, port) |
