move total in THP to the end

This commit is contained in:
Steffen Schaumburg 2011-04-07 07:57:40 +02:00
parent 91b597e2ea
commit 5e1c8364cf

View File

@ -380,9 +380,6 @@ def main(argv=None):
for i, site in enumerate(ErrorsList):
totalerrors += ErrorsList[i].errorcount
print "---------------------"
print "Total Errors: %d" % totalerrors
print "---------------------"
for i, site in enumerate(ErrorsList):
ErrorsList[i].print_histogram()
@ -407,6 +404,9 @@ def main(argv=None):
for num, stat in sortedstats:
print "(%3d) : %s" %(num, stat)
print "---------------------"
print "Total Errors: %d" % totalerrors
print "---------------------"
if __name__ == '__main__':
sys.exit(main())