Commit 61af4d9b authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: stop catching NotImplementedError

parent 76946323
......@@ -134,7 +134,7 @@ software_instance = context
if software_instance.getValidationState() != 'validated' \
or software_instance.getSlapState() not in ('start_requested', 'stop_requested') \
or software_instance.getAggregateValue(portal_type='Compute Partition') is not None:
return
return
instance_tree = software_instance.getSpecialiseValue()
try:
......@@ -152,9 +152,6 @@ except ValueError, e:
except Unauthorized, e:
# user has bad balance
markHistory(software_instance, 'Allocation failed: %s' % e)
except NotImplementedError, e:
# user has bad balance
markHistory(software_instance, 'Allocation failed: %s' % e)
else:
if compute_partition_url is not None:
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