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:
parent
8f3cbf30a9
commit
0c19fca3f9
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user