1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Added logs for the get_dictionary_from_dconf

This commit is contained in:
Данила Скачедубов 2024-01-17 16:24:57 +04:00 committed by Valery Sinelnikov
parent 7f3b47a23c
commit 209eb84d6d
3 changed files with 5 additions and 0 deletions

View File

@ -858,6 +858,9 @@ msgstr "Получение значения ключа"
msgid "Successfully updated dconf database"
msgstr "База данных dconf успешно обновлена"
msgid "Creating a dictionary with keys and values from the dconf database"
msgstr "Формирование словаря с ключами и значениями из базы dconf"
# Debug_end
# Warning

View File

@ -317,6 +317,7 @@ def debug_code(code):
debug_ids[204] = 'Getting a list of keys'
debug_ids[205] = 'Getting the key value'
debug_ids[206] = 'Successfully updated dconf database'
debug_ids[207] = 'Creating a dictionary with keys and values from the dconf database'
return debug_ids.get(code, 'Unknown debug code')
def warning_code(code):

View File

@ -204,6 +204,7 @@ class Dconf_registry():
keys_tmp = key.split('/')
update_dict(output_dict.setdefault('/'.join(keys_tmp[0:-1])[1:], {}), {keys_tmp[-1]: value})
log('D207')
return output_dict