Revision bae23063
b/snf-cyclades-app/synnefo/api/util.py | ||
---|---|---|
190 | 190 |
backend = ImageBackend(owner.uniq) |
191 | 191 |
try: |
192 | 192 |
image = backend.get_image(image_id) |
193 |
if not image: |
|
193 |
if not image or image['deleted_at']:
|
|
194 | 194 |
raise ItemNotFound('Image not found.') |
195 | 195 |
return image |
196 | 196 |
finally: |
Also available in: Unified diff