Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Jul 18, 2018
1 parent 55276d3 commit 03f64c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txtorcon/circuit.py
Expand Up @@ -551,8 +551,8 @@ def trap_cancel(f):
d2.addCallback(lambda _: Failure(CircuitBuildTimedOutError("circuit build timed out")))
return d2

d.addCallback(lambda circ: circ.when_built())
d.addCallback(get_circuit)
d.addCallback(lambda circ: circ.when_built())
d.addErrback(trap_cancel)

reactor.callLater(timeout, d.cancel)
Expand Down

0 comments on commit 03f64c4

Please sign in to comment.