1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

kcc: Make debugging slightly clearer

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2015-03-13 16:17:42 +13:00 committed by Andrew Bartlett
parent 6ccbd18715
commit e742720ad8

View File

@ -1064,11 +1064,11 @@ class KCC(object):
bhs = self.get_all_bridgeheads(site, part, transport,
partial_ok, detect_failed)
if len(bhs) == 0:
logger.debug("get_bridgehead: exit\n\tsitedn=%s\n\tbhdn=None" %
logger.debug("get_bridgehead:\n\tsitedn=%s\n\tbhdn=None" %
site.site_dnstr)
return None
else:
logger.debug("get_bridgehead: exit\n\tsitedn=%s\n\tbhdn=%s" %
logger.debug("get_bridgehead:\n\tsitedn=%s\n\tbhdn=%s" %
(site.site_dnstr, bhs[0].dsa_dnstr))
return bhs[0]