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
|
# because this class instance is about to be reaped in Daemon.py
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# If we get a delete state, just terminate outselves
|
# Perform a management command
|
||||||
if data == None:
|
|
||||||
return
|
|
||||||
# Otherwise perform a management command
|
|
||||||
else:
|
|
||||||
self.manage_vm_state()
|
self.manage_vm_state()
|
||||||
|
|
||||||
|
|
||||||
# Get data functions
|
# Get data functions
|
||||||
def getstate(self):
|
def getstate(self):
|
||||||
return self.state
|
return self.state
|
||||||
|
|
Loading…
Reference in New Issue