Since the model already provide a function to iterate the child nodes, _iter_nodes_attr is not useful and causes results duplication (Related T2690)
Function to_dict updated to reflect changes.
Differential D4241
scanner: removed _iter_nodes_attr function in model (causes results duplication) Authored by DanSeraf on Oct 13 2020, 8:54 AM.
Details
Since the model already provide a function to iterate the child nodes, _iter_nodes_attr is not useful and causes results duplication (Related T2690) Function to_dict updated to reflect changes. It would be nice to have another (sub)module to manage the scanner output rather than capture the stdout of the ndjson format to test the output.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4241 (id=14977)Rebasing onto 88ded8631b... Current branch diff-target is up to date. Changes applied before testcommit 70136267f2b40b8a5b0011c6a2093f3f5e912bad
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Mon Oct 12 20:16:28 2020 +0200
model: dropped _iter_nodes_attr function
since the model already provide a function to iterate the child nodes,
_iter_nodes_attr is not useful
function to_dict updated to reflect changesSee https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/72/ for more details. Comment Actions I confirm this fixes the issue. LGTM, thanks ! A couple of things:
|