File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -627,12 +627,11 @@ def _run_solcs_path(
627627 )
628628 break
629629 except InvalidCompilation as ic :
630- compilation_errors .append (solc_bin + ': ' + ic .args [0 ])
631- pass
630+ compilation_errors .append (solc_bin + ": " + ic .args [0 ])
632631
633632 if not targets_json :
634633 raise InvalidCompilation (
635- "Invalid solc compilation, none of the solc versions provided worked:\n " + ' \n ' .join (compilation_errors )
634+ "Invalid solc compilation, none of the solc versions provided worked:\n " + " \n " .join (compilation_errors )
636635 )
637636
638637 return targets_json
@@ -715,12 +714,11 @@ def _run_solcs_env(
715714 )
716715 break
717716 except InvalidCompilation as ic :
718- compilation_errors .append (version_env + ': ' + ic .args [0 ])
719- pass
717+ compilation_errors .append (version_env + ": " + ic .args [0 ])
720718
721719 if not targets_json :
722720 raise InvalidCompilation (
723- "Invalid solc compilation, none of the solc versions provided worked:\n " + ' \n ' .join (compilation_errors )
721+ "Invalid solc compilation, none of the solc versions provided worked:\n " + " \n " .join (compilation_errors )
724722 )
725723
726724 return targets_json
You can’t perform that action at this time.
0 commit comments