summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-12-08 22:34:55 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-08 23:35:30 -0500
commit974b478d04543a1912515f53160c0e5c6e31805c (patch)
tree2afdc43ce44d3633684ba86febe548676d99b8e3
parentb99c182bc274c5a360de37100662679c85ed5271 (diff)
downloadsssd-974b478d04543a1912515f53160c0e5c6e31805c.tar.gz
sssd-974b478d04543a1912515f53160c0e5c6e31805c.tar.bz2
sssd-974b478d04543a1912515f53160c0e5c6e31805c.zip
Fix broken SSSDChangeConf.set() function
The set function didn't do anything at all. It needed to use the ipachangeconf.merge() function to behave properly instead of mergeNew()
-rw-r--r--server/config/ipachangeconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/config/ipachangeconf.py b/server/config/ipachangeconf.py
index f06ab4c3..ea73a9b9 100644
--- a/server/config/ipachangeconf.py
+++ b/server/config/ipachangeconf.py
@@ -528,7 +528,7 @@ class SSSDChangeConf(IPAChangeConf):
}],
'action': 'set',
}
- self.mergeNew(self.opts, [ modkw ])
+ self.opts = self.merge(self.opts, [ modkw ])
def add_section(self, name, optkw, index=0):
optkw.append({'type':'empty', 'value':'empty'})