The runner should be stored in the dictionary, not a value of True. #12

merged 1 commit into from Apr 3, 2012


None yet

2 participants


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

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

This fixed the problem

@sebastien sebastien merged commit 44eb026 into sebastien:master Apr 3, 2012

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment