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:
parent
e9f0799a18
commit
ab63f1a983
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user