Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit c51ebee

Browse files
authored
Fix key in changed_settings & unchanged_settings
Fixed "key" names in module result dict's "changed_settings" & "unchanged_settings"
1 parent 4194a66 commit c51ebee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gsetting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def main():
182182

183183
for setting, value in parsed_settings:
184184
old_value = _get_value(schemadir, user, setting, dbus_addr)
185-
result = {'key': key, 'value': old_value}
185+
result = {'key': '.'.join(setting.args), 'value': old_value}
186186
changed = old_value != value
187187
any_changed = any_changed or changed
188188

0 commit comments

Comments
 (0)