We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2567322 + 7039d21 commit 7fd4e25Copy full SHA for 7fd4e25
flow/util/genReport.py
@@ -295,7 +295,7 @@ def write_summary():
295
with open(drc_report_file, "r") as file_:
296
for line_ in file_.readlines():
297
if "violation type:" in line_:
298
- type_ = line_.strip("violation type:").strip()
+ type_ = line_.split("violation type:", 1)[1].strip()
299
if type_ in d["drcs"].keys():
300
d["drcs"][type_] += 1
301
else:
0 commit comments