def get_mc_stats(self, server, bucketlist, nodes):
        #print util.pretty_print(bucketlist)
        for bucket in bucketlist:
            bucket_name = bucket['name']
            stats_buffer.node_stats[bucket_name] = {}
            for node in nodes:
                (node_server, node_port) = util.hostport(node['hostname'])
                self.log.info((node_server, node['ports']['direct']) % "  node: %s %s")
                stats = {}
                mc = mc_bin_client.MemcachedClient(node_server, node['ports']['direct'])
                if bucket["name"] != "Default":
                    mc.sasl_auth_plain(bucket_name.encode("utf8"), bucket["saslPassword"].encode("utf8"))
                self.get_mc_stats_per_node(mc, stats)
                stats_buffer.node_stats[bucket_name][node['hostname']] = stats
dataset/ETHPy150Open membase/membase-cli/collector.py/StatsCollector.get_mc_stats/swapped operands of `%`