Skip to content

Commit

Permalink
Repair flake8 error in grocery example
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgrayson committed Apr 26, 2017
1 parent 50824d8 commit b58ee49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/grocery/grocery.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def customer(self, cust_id, num_items, shop_time):
for i in range(num_items - 1):
yield lane.feed_belt.put((i, None))
checkout_done = self.env.event()
yield lane.feed_belt.put((num_items-1, checkout_done))
yield lane.feed_belt.put((num_items - 1, checkout_done))

yield checkout_done
checkout_time = self.env.now - t0
Expand Down

0 comments on commit b58ee49

Please sign in to comment.