From 5f47c04cf3e7ef90a3521c097f60af49bd37615d Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Mon, 29 Oct 2018 12:29:58 +1300 Subject: [PATCH] netcmd/ldapcmp: fix typo for Bundle Bundel -> Bundle Signed-off-by: Joe Guo Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/netcmd/ldapcmp.py | 8 ++++---- 1 file 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: -- 2.47.2