Commit fea5adfd authored by Tomi Sarvela's avatar Tomi Sarvela

Readability improvement by @ivyl

parent 17f5af0a
......@@ -127,11 +127,8 @@ if __name__ == "__main__":
# Filter out the heatmap lines without errors
for test in tests[:]:
for host in hosts:
if errors[(host,test)]: break
except: pass
else: tests.remove(test)
if not any((error.get((host,test)) for host in hosts)):
with open(args.output+"heatmap.html", 'w') as f:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment