@CommandHelp('Displays summary information for Cross Datacenter',
        'Replication (XDR).')
    def do_xdr(self, line):
        xdr_infos = self.logger.infoSummary(stanza='xdr')
        xdr_stats = self.logger.infoStatistics(stanza='xdr')
        for timestamp in sorted(xdr_stats.keys()):
            if not xdr_stats[timestamp]:
                try:
                    if xdr_infos[timestamp]:
                        self.view.infoString(timestamp, xdr_infos[timestamp])
                except:
                    pass
                continue
            xdr_enable = {}
            logsnapshot_controller = self.logger.get_log_snapshot(timestamp=timestamp)
            builds = logsnapshot_controller.get_xdr_build()
            for xdr_node in xdr_stats[timestamp].keys():
                xdr_enable[xdr_node] = True

            self.view.infoXDR(xdr_stats[timestamp], builds, xdr_enable, logsnapshot_controller, title_suffix=(timestamp)%" (%s)", **self.mods)
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/InfoController.do_xdr/swapped operands of `%`