Skip to content

Commit

Permalink
MAINT: Use local variable with same value
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Aug 25, 2014
1 parent 6ffec5a commit 7a9d8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipline/gens/tradesimulation.py
Expand Up @@ -224,7 +224,7 @@ def _process_snapshot(self, dt, snapshot, instant_fill):
elif event.type == DATASOURCE_TYPE.SPLIT:
self.algo.blotter.process_split(event)

if not self.algo.instant_fill:
if not instant_fill:
self.process_event(event)
else:
events_to_be_processed.append(event)
Expand Down

0 comments on commit 7a9d8a0

Please sign in to comment.