Revision 48223290
b/db/models.py | ||
---|---|---|
390 | 390 |
|
391 | 391 |
# No actions to deleted or suspended virtual machines |
392 | 392 |
# FIXME: How does a VM get unsuspended? |
393 |
if deleted or suspended:
|
|
393 |
if self.deleted or self.suspended:
|
|
394 | 394 |
raise VirtualMachine.InvalidActionError(action) |
395 | 395 |
|
396 | 396 |
self._action = action |
Also available in: Unified diff