check staleness: remove safety code after testing

This commit is contained in:
Thomas Waldmann 2014-11-21 11:44:35 +01:00
parent 5f8f17b3fe
commit 141069532d

View File

@ -91,10 +91,6 @@ def check_staleness(h):
:param h:
:return: email_msg, log_msg
"""
# XXX for first tests, only work on one specific host
if h.name != "test-staleness":
return S_notstale, None, None
email_msg = log_msg = None
t_now = timezone.now()
last_update_ipv4 = h.last_update_ipv4 or NEVER