diff options
author | Stanislav Laznicka <slaznick@redhat.com> | 2016-09-15 13:52:35 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-09-22 13:02:57 +0200 |
commit | 330a3ca93101bcec82ec5d3add14586871864bdd (patch) | |
tree | 03f997cb24675c1bfab0c9598c62a66a626502ec /ipaserver/install/ldapupdate.py | |
parent | 2e0afab5f2a47149580b4bc79093cdbb77f489c3 (diff) | |
download | freeipa-330a3ca93101bcec82ec5d3add14586871864bdd.tar.gz freeipa-330a3ca93101bcec82ec5d3add14586871864bdd.tar.xz freeipa-330a3ca93101bcec82ec5d3add14586871864bdd.zip |
Remove update_from_dict() method
update_from_dict() method is not used anywhere in the project,
it only makes the tests fail. Removed it and its tests.
https://fedorahosted.org/freeipa/ticket/6311
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r-- | ipaserver/install/ldapupdate.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py index 1b39745b5..7d87c8b22 100644 --- a/ipaserver/install/ldapupdate.py +++ b/ipaserver/install/ldapupdate.py @@ -921,20 +921,6 @@ class LDAPUpdate: return self.modified - def update_from_dict(self, updates): - """ - Apply updates internally as opposed to from a file. - updates is a dictionary containing the updates - """ - self.modified = False - try: - self.create_connection() - self._run_updates(updates) - finally: - self.close_connection() - - return self.modified - def close_connection(self): """Close ldap connection""" if self.conn: |