From 144bc6c1ebc29cc0bbe54d8f8a6bc5a6cf026a90 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Thu, 5 Mar 2015 18:42:03 +0100 Subject: [PATCH] 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 --- ipaserver/install/ldapupdate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()