summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/upgradehelpers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index b0ad3d6607..0b6c7e6663 100644
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -798,9 +798,6 @@ def update_dns_account_password(samdb, secrets_ldb, names):
"msDS-KeyVersionNumber")
secrets_ldb.modify(msg)
- else:
- raise ProvisioningError("Unable to find an object"
- " with %s" % expression )
def search_constructed_attrs_stored(samdb, rootdn, attrs):
"""Search a given sam DB for calculated attributes that are