Commit 6be6721b authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Rafael Monnerat

slapgrid: do NOT raise in case of servererror when calling /softwareAvailable.

Mostly informational, it is more improtant to have a functional slapgrid.
Also: remove trailing spaces.
parent 0beb316f
...@@ -468,7 +468,7 @@ class Slapgrid(object): ...@@ -468,7 +468,7 @@ class Slapgrid(object):
if state == 'available': if state == 'available':
try: try:
software_release.available() software_release.available()
except NotFoundError: except (NotFoundError, ServerError):
pass pass
elif state == 'destroyed': elif state == 'destroyed':
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment