Clean up redundant return section

This commit is contained in:
Joshua Boniface 2019-07-31 23:57:31 -04:00
parent 6a712ffe7a
commit c6e58796ba
1 changed files with 2 additions and 7 deletions

View File

@ -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