Skip to content
Snippets Groups Projects
Commit a04c9700 authored by Jake Taylor's avatar Jake Taylor
Browse files

better e2ereporting

parent 95e81f46
No related branches found
No related tags found
1 merge request!4Release
......@@ -27,19 +27,6 @@ def find_files():
return glob.glob('{}/client*.log'.format(resultsDir))
def read_file(path, phrases):
"""Reads the lines of a file."""
while 1:
with open(path, 'r') as file:
line = file.readline()
if not line:
break
else:
for phrase in phrases:
if phrase in line:
yield line
def main():
log.basicConfig(format='[%(levelname)s] %(asctime)s: %(message)s',
level=log.INFO, datefmt='%d-%b-%y %H:%M:%S')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment