Add FIXME in DependencySolver
This commit is contained in:
parent
804d251d45
commit
45bc931937
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ class DepedencySolver():
|
||||||
for dependency_type in handler_type.dependencies():
|
for dependency_type in handler_type.dependencies():
|
||||||
DepedencySolver._solve_type(dependency_type, visited, result)
|
DepedencySolver._solve_type(dependency_type, visited, result)
|
||||||
visited.add(handler_type)
|
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())
|
result.append(handler_type())
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue