mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Use more helpful variable names
This commit is contained in:
parent
891dfd90bd
commit
d3da63f766
@ -163,11 +163,11 @@ def runUntilCurrentTimer(func):
|
|||||||
|
|
||||||
# _newTimedCalls is one long list of *all* pending calls. Below loop
|
# _newTimedCalls is one long list of *all* pending calls. Below loop
|
||||||
# is based off of impl of reactor.runUntilCurrent
|
# is based off of impl of reactor.runUntilCurrent
|
||||||
for p in reactor._newTimedCalls:
|
for delayed_call in reactor._newTimedCalls:
|
||||||
if p.time > now:
|
if delayed_call.time > now:
|
||||||
break
|
break
|
||||||
|
|
||||||
if p.delayed_time > 0:
|
if delayed_call.delayed_time > 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
num_pending += 1
|
num_pending += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user