Skip to content

Commit

Permalink
Skip coverage on a particular annoying-to-trigger branch in execution…
Browse files Browse the repository at this point in the history
… code.
  • Loading branch information
witten committed Jun 14, 2019
1 parent 1ba56d5 commit de82919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion borgmatic/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def execute_and_log_output(full_command, output_log_level, shell):
logger.log(output_log_level, line)

remaining_output = process.stdout.read().rstrip().decode()
if remaining_output:
if remaining_output: # pragma: no cover
logger.log(output_log_level, remaining_output)

exit_code = process.poll()
Expand Down

0 comments on commit de82919

Please sign in to comment.