sebastien/daemonwatch — pull request #12 by mattupstate (2012-04-03 17:35:55+00:00)
Title: The runner should be stored in the dictionary, not a value of True.

I was trying to run an HTTP monitor and was getting the following error:

Traceback (most recent call last):
File "monitor.py", line 33, in
run_monitor(sys.argv[1])
File "monitor.py", line 22, in run_monitor
Print("%s experienced 5 errors within 5 seconds")
File "/Users/mattwright/Workspace/Change-By-Us/scripts/daemonwatch.py", line 1278, in run
runner = self.runnerForRule(rule, service, self.iteration)
File "/Users/mattwright/Workspace/Change-By-Us/scripts/daemonwatch.py", line 1248, in runnerForRule
if iteration - runner.iteration < 5:
AttributeError: 'bool' object has no attribute 'iteration'

This fixed the problem