Add missing source directory error fix to NEWS (#655).

This commit is contained in:
Dan Helfman 2023-03-22 13:02:22 -07:00
parent ab64b7ef67
commit 0a72c67c6c
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -5,6 +5,7 @@
* #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
in borgmatic's storage configuration.
* #623: Fix confusing message when an error occurs running actions for a configuration file.
* #655: Fix error when databases are configured and a source directory doesn't exist.
1.7.9
* #295: Add a SQLite database dump/restore hook.

View File

@ -117,7 +117,7 @@ def list_repository(
)
if rlist_arguments.json:
return execute_command_and_capture_output(main_command, extra_environment=borg_environment,)
return execute_command_and_capture_output(main_command, extra_environment=borg_environment)
else:
execute_command(
main_command,

View File

@ -239,7 +239,7 @@ def test_execute_command_and_capture_output_with_capture_stderr_returns_stderr()
assert output == expected_output
def test_execute_command_and_capture_output_returns_output_when_error_code_is_one():
def test_execute_command_and_capture_output_returns_output_when_process_error_is_not_considered_an_error():
full_command = ['foo', 'bar']
expected_output = '[]'
err_output = b'[]'