diff --git a/src/regression_tracker.py b/src/regression_tracker.py index 153e1d1bb..25f412769 100755 --- a/src/regression_tracker.py +++ b/src/regression_tracker.py @@ -107,9 +107,14 @@ def _get_last_matching_node(self, search_params): TODO: Move this to core helpers. """ + # Workaround: Don't use 'path' as a search parameter (we can't + # use lists as query parameter values). Instead, do the + # filtering in python code + path = search_params.pop('path') nodes = self._api.node.find(search_params) if not nodes: return None + nodes = [node for node in nodes if node['path'] == path] node = sorted( nodes, key=lambda node: node['created'],