New progress bar

This commit is contained in:
2019-06-17 17:30:51 +02:00
parent 3552f14b81
commit 70b05e8637
7 changed files with 70 additions and 21 deletions
+13 -1
View File
@@ -63,6 +63,9 @@ class OutNoStatFormatter(Formatter):
def group(self):
return True
def __str__(self):
return "out-no-stat"
class AllFormatter(Formatter):
def header_repeat(self):
@@ -81,6 +84,9 @@ class AllFormatter(Formatter):
def group(self):
return False
def __str__(self):
return "all"
class StatsFormatter(Formatter):
def additional_init(self):
self.stats = None
@@ -160,6 +166,9 @@ class StatsFormatter(Formatter):
def group(self):
return True
def __str__(self):
return "stat"
class OutFormatter(Formatter):
def additional_init(self):
@@ -187,4 +196,7 @@ class OutFormatter(Formatter):
self.f2.set_structure(structure)
def new_match(self, match):
self.f2.new_match(match)
self.f2.new_match(match)
def __str__(self):
return "out"