[python][generator] Fixed regex in stats.

This commit is contained in:
Maksim Andrianov 2019-06-20 01:56:05 +03:00 committed by gmoryes
parent 6ebf4621b1
commit 48189981d1

View file

@ -19,7 +19,7 @@ RE_TIME_DELTA = re.compile(r'^(?:(?P<days>-?\d+) (days?, )?)?'
r'(?P<seconds>-?\d+)'
r'(?:\.(?P<microseconds>\d{1,6})\d{0,6})?$')
RE_FINISH_STAGE = re.compile(r"(.*)Stage (\w+): finished in (.+)$")
RE_FINISH_STAGE = re.compile(r"(.*)Stage ([A-Za-z ]+): finished in (.+)$")
def read_stat(f):