Commit 824a111
Krzysztof Wilczyński
results: Fix dashboard_fetch_tree_list() invocation
Commit d45d0db ("Format error as json when using --json") added a new
positional argument called "use_json" to the dashboard_api_fetch()
method while fixing something else.
As part of the change, most of the callers of the dashboard_api_fetch(),
such as the dashboard_fetch_tree_list() helper, were updated to correctly
pass the new argument around.
However, the cmd_list_trees() was not updated to pass the new argument
correctly to the aforementioned helper function, which it uses internally.
As such, when using kci-dev with the "results trees" subcommand, this
results in a TypeError as follows:
TypeError: dashboard_fetch_tree_list() missing 1 required positional argument: 'use_json'
Thus, add the missing argument when invoking dashboard_fetch_tree_list()
to fix the subcommand invocation error.
Signed-off-by: Krzysztof Wilczyński <krzysztof.wilczynski@collabora.com>1 parent b0c1c1a commit 824a111
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments