From 141069532db30461cd9721369c0a0c1918ad6585 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 21 Nov 2014 11:44:35 +0100 Subject: [PATCH] check staleness: remove safety code after testing --- nsupdate/management/commands/hosts.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nsupdate/management/commands/hosts.py b/nsupdate/management/commands/hosts.py index a2bd156..57b71b8 100644 --- a/nsupdate/management/commands/hosts.py +++ b/nsupdate/management/commands/hosts.py @@ -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