X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=policy.py;h=84bdb445a17e40086f1f07ff4f4eca6ea4f149ce;hb=cb01884d466b6250c1f7351e3b68c7c8a3699c62;hp=f9605ae77dc6746647840e7f880f8a0b2255b468;hpb=035a846d8617889c01cae12bc6d64eb7c48b64bd;p=monitor.git diff --git a/policy.py b/policy.py index f9605ae..84bdb44 100755 --- a/policy.py +++ b/policy.py @@ -139,6 +139,8 @@ def main(hostnames, sitenames): if siteblack and not siteblack.expired(): print "skipping %s due to blacklist. will expire %s" % (site, siteblack.willExpire() ) skip_due_to_blacklist=True + sitehist.clearPenalty() + sitehist.applyPenalty() continue # TODO: make query only return records within a certin time range,