git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f0799
)
KCC: Correct capitalisation of KCCError
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Mon, 22 Jun 2015 04:38:29 +0000
(16:38 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 29 Oct 2015 04:08:16 +0000
(
05:08
+0100)
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>
python/samba/kcc/kcc_utils.py
patch
|
blob
|
history
diff --git
a/python/samba/kcc/kcc_utils.py
b/python/samba/kcc/kcc_utils.py
index a430366bc68386025073408571ad58d452e6c213..dddc487188c07e722afb44b484d0c9772ce4521b 100644
(file)
--- a/
python/samba/kcc/kcc_utils.py
+++ b/
python/samba/kcc/kcc_utils.py
@@
-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 K
cc
Error("Unable to search for (%s) - (%s)" %
+ raise K
CC
Error("Unable to search for (%s) - (%s)" %
(self.dnstr, estr))
if self.enabled: