Commit 4454dc45 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix no set literals prior to python 2.7

parent 98f7dc7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: