Skip to content

Commit

Permalink
Allow source->operation->source
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Oct 3, 2023
1 parent e896669 commit 7299f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/gftools/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ def _build_graph(self, target, steps):
f"Multiple rules apparently produced {current.path}"
)
edge = self.graph[parents[0]][current]
# print("Adding edge, ", parents[0], step, edge)
self.graph.add_edge(parents[0], step, **edge)
edge["operation"]._targets = [step]
current.path = step.path
current = step
else:
# This is an ordinary operation.
Expand Down

0 comments on commit 7299f7a

Please sign in to comment.