def _write_ratio(self, valid, invalid, name):
        total = valid + invalid
        if total > 0:
            sys.stdout.write('\n%d/%d %s files valid' % (valid, total, name))
            if invalid > 0:
                sys.stdout.write(', %d/%d %s files INVALID' % (invalid, total,
                                                               name))
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/validation.py/CloudTrailValidateLogs._write_ratio/original