Browse files

Merge branch 'master' of github.com:Supervisor/superlance

  • Loading branch information...
2 parents 32fa306 + 7aa6034 commit 7462bcbb9ee313fdeac70e932f71a0d1f67b87c3 @mnaberez mnaberez committed Aug 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 superlance/httpok.py
View
2 superlance/httpok.py
@@ -191,7 +191,7 @@ def runforever(self, test=False):
if str(status) != str(self.status):
subject = 'httpok for %s: bad status returned' % self.url
self.act(subject, msg)
- elif self.inbody and self.inbody not in res.body:
+ elif self.inbody and self.inbody not in body:
act = True
subject = 'httpok for %s: bad body returned' % self.url
self.act(subject, msg)

0 comments on commit 7462bcb

Please sign in to comment.