diff options
author | Martin Basti <mbasti@redhat.com> | 2015-03-05 18:42:03 +0100 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-03-19 12:37:09 +0100 |
commit | 144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90 (patch) | |
tree | 8c71531781740d0e1d41c9273ac473417b90142f /ipaserver/install/ldapupdate.py | |
parent | 10bc6bd0bf96bda733500e12e7a8c2463ebf7fe4 (diff) | |
download | freeipa-144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90.tar.gz freeipa-144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90.tar.xz freeipa-144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90.zip |
Server Upgrade: Set modified to false, before each update
Variable self.modified should be set to false before each run of update
Ticket: https://fedorahosted.org/freeipa/ticket/3560
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r-- | ipaserver/install/ldapupdate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py index 3b4aa58d9..92b6d56ae 100644 --- a/ipaserver/install/ldapupdate.py +++ b/ipaserver/install/ldapupdate.py @@ -797,7 +797,7 @@ class LDAPUpdate: returns True if anything was changed, otherwise False """ - + self.modified = False all_updates = {} try: self.create_connection() @@ -841,6 +841,7 @@ class LDAPUpdate: Apply updates internally as opposed to from a file. updates is a dictionary containing the updates """ + self.modified = False if not self.conn: self.create_connection() |