summaryrefslogtreecommitdiffstats
path: root/ipaclient/remote_plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaclient/remote_plugins/__init__.py')
-rw-r--r--ipaclient/remote_plugins/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaclient/remote_plugins/__init__.py b/ipaclient/remote_plugins/__init__.py
index 444651d30..976d69687 100644
--- a/ipaclient/remote_plugins/__init__.py
+++ b/ipaclient/remote_plugins/__init__.py
@@ -59,7 +59,8 @@ class ServerInfo(collections.MutableMapping):
return self._dict[key]
def __setitem__(self, key, value):
- self._dirty = key not in self._dict or self._dict[key] != value
+ if key not in self._dict or self._dict[key] != value:
+ self._dirty = True
self._dict[key] = value
def __delitem__(self, key):