mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Changing the log in the create_dconf_ini_file method
This commit is contained in:
parent
1e267f5cb6
commit
9117dddcee
@ -864,6 +864,9 @@ msgstr "Формирование словаря с ключами и значе
|
||||
msgid "No entry found for the specified path"
|
||||
msgstr "Не найдено записей по указанному пути"
|
||||
|
||||
msgid "Creating an ini file with policies for dconf"
|
||||
msgstr "Создание ini-фала с политиками для dconf"
|
||||
|
||||
# Debug_end
|
||||
|
||||
# Warning
|
||||
|
@ -319,6 +319,8 @@ def debug_code(code):
|
||||
debug_ids[206] = 'Successfully updated dconf database'
|
||||
debug_ids[207] = 'Creating a dictionary with keys and values from the dconf database'
|
||||
debug_ids[208] = 'No entry found for the specified path'
|
||||
debug_ids[209] = 'Creating an ini file with policies for dconf'
|
||||
|
||||
return debug_ids.get(code, 'Unknown debug code')
|
||||
|
||||
def warning_code(code):
|
||||
|
@ -514,8 +514,8 @@ def create_dconf_ini_file(filename, data):
|
||||
file.write(f'{key} = "{value}"\n')
|
||||
file.write('\n')
|
||||
logdata = dict()
|
||||
logdata['filename'] = filename
|
||||
log('D177', logdata)
|
||||
logdata['path'] = filename
|
||||
log('D209', logdata)
|
||||
Dconf_registry.dconf_update()
|
||||
|
||||
def convert_string_dconf(input_string):
|
||||
|
Loading…
x
Reference in New Issue
Block a user