Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
b6fb2792
Commit
b6fb2792
authored
Feb 07, 2012
by
Vangelis Koukis
Browse files
Merge branch 'plankton'
parents
c5d9a291
2832ac9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/util.py
View file @
b6fb2792
...
...
@@ -190,7 +190,7 @@ def get_backend_image(image_id, owner):
backend
=
ImageBackend
(
owner
.
uniq
)
try
:
image
=
backend
.
get_image
(
image_id
)
if
not
image
:
if
not
image
or
image
[
'deleted_at'
]
:
raise
ItemNotFound
(
'Image not found.'
)
return
image
finally
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment