KCC: remove commented out code in KCC.refresh_failed_links_connections()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 27 Apr 2015 23:25:18 +0000 (11:25 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 12 Jun 2015 04:57:14 +0000 (06:57 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/__init__.py

index c7690510f949423e1ea1b5722202a6f8d0a8f746..771666a58cd1544c1840df70de431c34b98e7e3c 100644 (file)
@@ -365,10 +365,6 @@ class KCC(object):
                                         time_first_failure, last_result,
                                         dns_name)
                     self.kcc_failed_links[dsa_guid] = f
-                #elif f.failure_count == 0:
-                #    f.failure_count = failure_count
-                #    f.time_first_failure = time_first_failure
-                #    f.last_result = last_result
                 else:
                     f.failure_count = max(f.failure_count, failure_count)
                     f.time_first_failure = min(f.time_first_failure,