def tag_instance(self, data):
        try:
            ec2 = boto.connect_ec2(aws_access_key_id=self.aws_access_key_id, aws_secret_access_key=self.aws_secret_access_key)
            if not ec2.create_tags([self.instance_id], data):
                logger.error("Could not tag instance with %s" % data)
        except boto.exception.BotoServerError, e:
            logger.error(e % "Could not tag instance due to boto error: %s")
dataset/ETHPy150Open facebookarchive/neti/neti/registry.py/Connection.tag_instance/swapped operands of `%`