Clean up redundant return section
This commit is contained in:
parent
6a712ffe7a
commit
c6e58796ba
|
@ -71,14 +71,9 @@ class VMInstance(object):
|
|||
# because this class instance is about to be reaped in Daemon.py
|
||||
return False
|
||||
|
||||
# If we get a delete state, just terminate outselves
|
||||
if data == None:
|
||||
return
|
||||
# Otherwise perform a management command
|
||||
else:
|
||||
# Perform a management command
|
||||
self.manage_vm_state()
|
||||
|
||||
|
||||
# Get data functions
|
||||
def getstate(self):
|
||||
return self.state
|
||||
|
|
Loading…
Reference in New Issue