Add missing source directory error fix to NEWS (#655).
This commit is contained in:
parent
ab64b7ef67
commit
0a72c67c6c
3 changed files with 3 additions and 2 deletions
1
NEWS
1
NEWS
|
@ -5,6 +5,7 @@
|
||||||
* #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
|
* #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
|
||||||
in borgmatic's storage configuration.
|
in borgmatic's storage configuration.
|
||||||
* #623: Fix confusing message when an error occurs running actions for a configuration file.
|
* #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
|
1.7.9
|
||||||
* #295: Add a SQLite database dump/restore hook.
|
* #295: Add a SQLite database dump/restore hook.
|
||||||
|
|
|
@ -117,7 +117,7 @@ def list_repository(
|
||||||
)
|
)
|
||||||
|
|
||||||
if rlist_arguments.json:
|
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:
|
else:
|
||||||
execute_command(
|
execute_command(
|
||||||
main_command,
|
main_command,
|
||||||
|
|
|
@ -239,7 +239,7 @@ def test_execute_command_and_capture_output_with_capture_stderr_returns_stderr()
|
||||||
assert output == expected_output
|
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']
|
full_command = ['foo', 'bar']
|
||||||
expected_output = '[]'
|
expected_output = '[]'
|
||||||
err_output = b'[]'
|
err_output = b'[]'
|
||||||
|
|
Loading…
Reference in a new issue