mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
14f23fbebe
commit
a634cc2928
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/5687-gconftool2.yml
Normal file
2
changelogs/fragments/5687-gconftool2.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "gconftool2 - fix crash that prevents setting a key (https://github.com/ansible-collections/community.general/issues/5591, https://github.com/ansible-collections/community.general/pull/5687)."
|
|
@ -125,7 +125,7 @@ class GConf2Preference(object):
|
|||
elif call_type == 'set':
|
||||
cmd.extend(direct)
|
||||
cmd.extend(config_source)
|
||||
cmd.extend(["--type", self.value_type, "--{3}".format(call_type), self.key, self.value])
|
||||
cmd.extend(["--type", self.value_type, "--{0}".format(call_type), self.key, self.value])
|
||||
elif call_type == 'unset':
|
||||
cmd.extend(["--unset", self.key])
|
||||
|
||||
|
|
Loading…
Reference in a new issue