mirror of https://github.com/borgbase/vorta
61326e1814
* fix issue #940 - KeyError in get_dict_from_list - cause of error : defaultdict added more defaultdict while attempting to traverse the tree, but once a 'potential leaf' node was added, it was added as a dict, not a defaultdict. - two possible solutions: - 1 - change everywhere that adds a 'potential' leaf node to add a defaultdict (ie nested_dict()) - this occurs in several places, but not many. - 2 - change get_dict_from_list to add a default dict (not defaultdict) when traversing the tree, for the case where a multi-level node is added on top of an existing node. This requires only changing a single location, and means that the dictionaries returned by accessing the tree will behave like normal dict (ie, won't by default add missing keys). * Add test case for issues #940 and #925 |
||
---|---|---|
.. | ||
check_stderr.json | ||
check_stdout.json | ||
create_break_stderr.json | ||
create_break_stdout.json | ||
create_lock_stderr.json | ||
create_lock_stdout.json | ||
create_perm_stderr.json | ||
create_perm_stdout.json | ||
create_stderr.json | ||
create_stdout.json | ||
delete_stderr.json | ||
delete_stdout.json | ||
diff_archives_dict_issue_stderr.json | ||
diff_archives_dict_issue_stdout.json | ||
diff_archives_stderr.json | ||
diff_archives_stdout.json | ||
info_stderr.json | ||
info_stdout.json | ||
list_archive_stderr.json | ||
list_archive_stdout.json | ||
list_stderr.json | ||
list_stdout.json | ||
prune_stderr.json | ||
prune_stdout.json | ||
rename_stderr.json | ||
rename_stdout.json |