Skip to content

Commit

Permalink
Merge pull request #159 from nawaidshamim/master
Browse files Browse the repository at this point in the history
Fixed typos in events.py example
  • Loading branch information
heyman committed May 16, 2014
2 parents 5c9c0b4 + 2c1bee6 commit e15106e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ def on_report_to_master(client_id, data):

def on_slave_report(client_id, data):
"""
This event is triggered on the master isntance when a new stats report arrives
This event is triggered on the master instance when a new stats report arrives
from a slave. Here we just add the content-length to the master's aggregated
stats dict.
"""
stats["content-length"] += stats["content-length"]
stats["content-length"] += data["content-length"]

# Hook up the event listeners
events.request_success += on_request_success
Expand Down

0 comments on commit e15106e

Please sign in to comment.