def PrintErrorCounts(self):
for category, count in sorted(iteritems(self.errors_by_category)):<EOL><INDENT>self.PrintInfo('<STR_LIT>' %<EOL>(category, count))<EOL><DEDENT>if self.error_count > <NUM_LIT:0>:<EOL><INDENT>self.PrintInfo('<STR_LIT>' % self.error_count)<EOL><DEDENT>
Print a summary of errors by category, and the total.