summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-10-29 12:29:58 +1300
committerAndrew Bartlett <abartlet@samba.org>2018-11-21 07:46:18 +0100
commit5f47c04cf3e7ef90a3521c097f60af49bd37615d (patch)
tree035ae7474fbecd620066fbdde56b2c53b8a7138d /python
parenta370f217bb94601345ad5700ea546259e1d04bfd (diff)
downloadsamba-5f47c04cf3e7ef90a3521c097f60af49bd37615d.tar.gz
netcmd/ldapcmp: fix typo for Bundle
Bundel -> Bundle Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/netcmd/ldapcmp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/netcmd/ldapcmp.py b/python/samba/netcmd/ldapcmp.py
index 312c8ecba0a..bccf6c799c2 100644
--- a/python/samba/netcmd/ldapcmp.py
+++ b/python/samba/netcmd/ldapcmp.py
@@ -688,7 +688,7 @@ class LDAPObject(object):
return res == ""
-class LDAPBundel(object):
+class LDAPBundle(object):
def __init__(self, connection, context, dn_list=None, filter_list=None,
outf=sys.stdout, errf=sys.stderr):
@@ -713,7 +713,7 @@ class LDAPBundel(object):
self.context = context.upper()
self.dn_list = self.get_dn_list(context)
else:
- raise Exception("Unknown initialization data for LDAPBundel().")
+ raise Exception("Unknown initialization data for LDAPBundle().")
counter = 0
while counter < len(self.dn_list) and self.two_domains:
# Use alias reference
@@ -988,9 +988,9 @@ class cmd_ldapcmp(Command):
if not quiet:
self.outf.write("\n* Comparing [%s] context...\n" % context)
- b1 = LDAPBundel(con1, context=context, filter_list=filter_list,
+ b1 = LDAPBundle(con1, context=context, filter_list=filter_list,
outf=self.outf, errf=self.errf)
- b2 = LDAPBundel(con2, context=context, filter_list=filter_list,
+ b2 = LDAPBundle(con2, context=context, filter_list=filter_list,
outf=self.outf, errf=self.errf)
if b1 == b2: