Python 3 compatibility fix for coverage-calc script

This commit is contained in:
Daniel Thayer 2016-10-21 09:33:04 -05:00
parent e8bfa49f69
commit 99cd34f57d

View file

@ -56,4 +56,4 @@ for k in stats:
num_covered += 1 num_covered += 1
if len(stats) > 0: if len(stats) > 0:
print "%s/%s (%.1f%%) Bro script statements covered." % (num_covered, len(stats), float(num_covered)/len(stats)*100) print("%s/%s (%.1f%%) Bro script statements covered." % (num_covered, len(stats), float(num_covered)/len(stats)*100))