def _do_default(self, line):
        for path in line:
            path = strip_string(path)
            snapshots_added, error = self.logger.add_cluster_snapshots(path)
            if snapshots_added==1:
                print "%d collectinfo added for cluster analysis."%(snapshots_added)
            elif snapshots_added>1:
                print (snapshots_added)%"%d collectinfos added for cluster analysis."

            if error:
                print "\n" + terminal.fg_red() + error + terminal.fg_clear()
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/AddClusterController._do_default/swapped operands of `%`