mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-25 02:04:18 +03:00
Correction of logs
This commit is contained in:
parent
7a0571278f
commit
78815c5ecd
@ -125,8 +125,11 @@ def create_dict(kde_settings, all_kde_settings, locks_settings, locks_dict, file
|
||||
|
||||
except Exception as exc:
|
||||
logdata = dict()
|
||||
logdata['Exception'] = exc
|
||||
logdata['Exception'] = setting
|
||||
logdata['file_name'] = file_name
|
||||
logdata['section'] = section
|
||||
logdata['value'] = value
|
||||
logdata['data'] = data
|
||||
logdata['exc'] = exc
|
||||
log('W16', logdata)
|
||||
|
||||
def apply(all_kde_settings, locks_dict, username = None):
|
||||
@ -233,11 +236,9 @@ def apply_for_widget(value, data, file_cache):
|
||||
logdata = dict()
|
||||
logdata['Conclusion'] = stdout
|
||||
if proc.returncode == 0:
|
||||
log(logdata)
|
||||
log('D203')
|
||||
log('D203', logdata)
|
||||
else:
|
||||
log(logdata)
|
||||
log('E66')
|
||||
log('E66', logdata)
|
||||
else:
|
||||
pass
|
||||
except OSError as exc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user