Fix problems with older versions of Python
This commit is contained in:
parent
7daee41907
commit
c248fc9090
2 changed files with 5 additions and 2 deletions
|
|
@ -23,7 +23,8 @@ def render_conformance_check_result(error_list):
|
|||
if len(error_list) == 0:
|
||||
return "OK"
|
||||
else:
|
||||
return f"There were {len(error_list)} errors: \n {'\n '.join(error_list)}"
|
||||
joined = '\n '.join(error_list)
|
||||
return f"There were {len(error_list)} errors: \n {joined}"
|
||||
|
||||
|
||||
class Conformance:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue