From 45bc931937aec2b7cc1f7274a63de29148376a18 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Fri, 2 Aug 2019 15:32:33 +0200 Subject: [PATCH] Add FIXME in DependencySolver --- tracetools_analysis/tracetools_analysis/processor/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tracetools_analysis/tracetools_analysis/processor/__init__.py b/tracetools_analysis/tracetools_analysis/processor/__init__.py index 693fb9a..b04ff0f 100644 --- a/tracetools_analysis/tracetools_analysis/processor/__init__.py +++ b/tracetools_analysis/tracetools_analysis/processor/__init__.py @@ -179,6 +179,8 @@ class DepedencySolver(): for dependency_type in handler_type.dependencies(): DepedencySolver._solve_type(dependency_type, visited, result) visited.add(handler_type) + # FIXME if it exists in the initial handler instances use that instead + # otherwise that instance is going to be replaced by the new instance below result.append(handler_type())