1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

python/samba: Fix typos in error messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2022-07-27 14:12:07 +12:00 committed by Andrew Bartlett
parent 8f3cbf30a9
commit 0c19fca3f9
2 changed files with 4 additions and 4 deletions

View File

@ -94,9 +94,9 @@ def delete_site(samdb, configDn, siteName):
dnsite = ldb.Dn(samdb, "CN=Sites")
if dnsite.add_base(configDn) == False:
raise SiteException("dnsites.add_base() failed")
raise SiteException("dnsite.add_base() failed")
if dnsite.add_child("CN=X") == False:
raise SiteException("dnsites.add_child() failed")
raise SiteException("dnsite.add_child() failed")
dnsite.set_component(0, "CN", siteName)
dnservers = ldb.Dn(samdb, "CN=Servers")

View File

@ -200,9 +200,9 @@ def set_subnet_site(samdb, configDn, subnet_name, site_name):
dnsite = ldb.Dn(samdb, "CN=Sites")
if dnsite.add_base(configDn) == False:
raise SubnetException("dnsites.add_base() failed")
raise SubnetException("dnsite.add_base() failed")
if dnsite.add_child("CN=X") == False:
raise SubnetException("dnsites.add_child() failed")
raise SubnetException("dnsite.add_child() failed")
dnsite.set_component(0, "CN", site_name)
dnservers = ldb.Dn(samdb, "CN=Servers")