1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

KCC: Correct capitalisation of KCCError

previously we had "raise KccError", which of course would raise a
NameError.

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>
This commit is contained in:
Douglas Bagnall 2015-06-22 16:38:29 +12:00 committed by Andrew Bartlett
parent e9f0799a18
commit ab63f1a983

View File

@ -1047,7 +1047,7 @@ class NTDSConnection(object):
if enum == ldb.ERR_NO_SUCH_OBJECT:
raise KCCError("nTDSConnection for (%s) doesn't exist!" %
self.dnstr)
raise KccError("Unable to search for (%s) - (%s)" %
raise KCCError("Unable to search for (%s) - (%s)" %
(self.dnstr, estr))
if self.enabled: