def applyHistory(self, axis_object):
        string_count = {}

        for cp in self.__command_list:
            log_string = cp.log_string

            try:
                count = string_count[log_string]
                string_count[log_string] += 1
            except __HOLE__:
                string_count[log_string] = count = 1

            if count < 5:
                print log_string
            elif count == 5:
                print log_string + "\n<<< More of these surpressed.>>> "
            
            getattr(axis_object, cp.name)(*cp.args, **cp.kwargs)
dataset/ETHPy150Open hoytak/lazyrunner/lazyrunner/pmodule/axisproxy.py/AxisProxy.applyHistory