Commit 46e796f
committed
Print potential errors after running a command only once
`parse_cmd_output` calls `parse_log_for_error` which outputs potential
errors by default via `log.info`.
The former then outputs those via `log.warning` again.
Fix this by passing `stdout=False` to the latter.
Also minor rewording and variable renaming.1 parent a8c0cad commit 46e796f
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | | - | |
631 | | - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
632 | 633 | | |
633 | | - | |
| 634 | + | |
634 | 635 | | |
635 | | - | |
| 636 | + | |
| 637 | + | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
| |||
0 commit comments