From b27dcb5bcabf3289de6a81b4a6e740e3c4f7d469 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 17 Sep 2015 18:10:03 +1200 Subject: [PATCH] samba.sites: improve grammar in an error message Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/sites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/sites.py b/python/samba/sites.py index 05e5340d63d..113b47f70be 100644 --- a/python/samba/sites.py +++ b/python/samba/sites.py @@ -114,7 +114,7 @@ def delete_site(samdb, configDn, siteName): ret = samdb.search(base=dnsites, scope=ldb.SCOPE_ONELEVEL, expression='(dn=%s)' % str(dnsite)) if len(ret) != 1: - raise SiteNotFoundException('Site %s do not exists' % siteName) + raise SiteNotFoundException('Site %s does not exist' % siteName) ret = samdb.search(base=dnserver, scope=ldb.SCOPE_ONELEVEL, expression='(objectclass=server)')