Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos in events.py example #159

Merged
merged 3 commits into from
May 16, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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