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(
627
627
)
628
628
break
629
629
except InvalidCompilation as ic :
630
- compilation_errors .append (solc_bin + ': ' + ic .args [0 ])
631
- pass
630
+ compilation_errors .append (solc_bin + ": " + ic .args [0 ])
632
631
633
632
if not targets_json :
634
633
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 )
636
635
)
637
636
638
637
return targets_json
@@ -715,12 +714,11 @@ def _run_solcs_env(
715
714
)
716
715
break
717
716
except InvalidCompilation as ic :
718
- compilation_errors .append (version_env + ': ' + ic .args [0 ])
719
- pass
717
+ compilation_errors .append (version_env + ": " + ic .args [0 ])
720
718
721
719
if not targets_json :
722
720
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 )
724
722
)
725
723
726
724
return targets_json
You can’t perform that action at this time.
0 commit comments