Skip to content

Commit

Permalink
Removed unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbywater committed Oct 17, 2017
1 parent 727b71e commit a3b7d67
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions quantdsl/domain/services/dependency_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,8 @@ def generate_execution_order(leaf_call_ids, call_dependents_repo, call_dependenc
# Yield node n.
yield n

# Get dependents, if any were registered.
try:
dependents = call_dependents_repo[n]
except KeyError:
continue
# Get dependents (calls waiting for this call).
dependents = call_dependents_repo[n]

# Visit the nodes that are dependent on n.
for m in dependents:
Expand Down

0 comments on commit a3b7d67

Please sign in to comment.