File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,12 @@ def gen_report(name, data):
102102 TODO: docs
103103 '''
104104
105- if args .verbose >= 2 or data [ 'drcs' ] or data ['status' ] != STATUS_GREEN :
105+ if args .verbose >= 2 and data ['status' ] != STATUS_GREEN :
106106 output = f"{ name } \n "
107- if data ['status' ] == STATUS_RED :
108- if data ['finished' ]:
109- output += ' Flow reached last stage.\n '
110- else :
111- output += f" Last log file { data ['last_log' ]} \n "
107+ if data ['finished' ]:
108+ output += ' Flow reached last stage.\n '
109+ else :
110+ output += f" Last log file { data ['last_log' ]} \n "
112111 else :
113112 output = ""
114113
@@ -163,7 +162,7 @@ def gen_report(name, data):
163162 REGEX_WARNING ,
164163 args .verbose - 2 )
165164
166- if d ['drcs' ]:
165+ if len ( d ['drcs' ]. keys ()) > 0 :
167166 if data ['status' ] == STATUS_GREEN :
168167 output += ' Design has the violations under the allowed limit: '
169168 else :
You can’t perform that action at this time.
0 commit comments