def __new__(cls, name, bases, attrs):
        # Extra git commands
        commands = attrs.get('commands', { })

        for cmd_name, command in cls._default_commands.items() + commands.items():
            attrs[cmd_name] = cls._create_git_command(command,
                                        ignore_exit_status=command in cls._ignore_exit_status)

        return ParallelNodeBase.__new__(cls, name, bases, attrs)
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/contrib/nodes/git.py/GitBase.__new__/original