Loading cloudcontrol/node/config.py +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ class NodeConfigParser(object): else: self.forbidden_handlers = set() # backward compatibility command_execution_handlers = {'shutdown', 'execute'} command_execution_handlers = set(('shutdown', 'execute')) if config.getboolean('node', 'command_execution', None) == False: self.forbidden_handlers |= command_execution_handlers else: Loading Loading
cloudcontrol/node/config.py +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ class NodeConfigParser(object): else: self.forbidden_handlers = set() # backward compatibility command_execution_handlers = {'shutdown', 'execute'} command_execution_handlers = set(('shutdown', 'execute')) if config.getboolean('node', 'command_execution', None) == False: self.forbidden_handlers |= command_execution_handlers else: Loading