mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-05 05:17:52 +03:00
The save_dconf moved to the required stage
This commit is contained in:
parent
620010e1ab
commit
39b92ce763
@ -152,6 +152,7 @@ class gpoa_controller:
|
||||
if back:
|
||||
try:
|
||||
back.retrieve_and_store()
|
||||
save_dconf(self.username, self.is_machine)
|
||||
# Start frontend only on successful backend finish
|
||||
self.start_frontend()
|
||||
except Exception as exc:
|
||||
@ -164,7 +165,6 @@ class gpoa_controller:
|
||||
einfo = geterr()
|
||||
logdata.update(einfo)
|
||||
log('E3', logdata)
|
||||
save_dconf(self.username, self.is_machine)
|
||||
|
||||
def start_frontend(self):
|
||||
'''
|
||||
|
@ -111,9 +111,9 @@ class smbcreds (smbopts):
|
||||
'''
|
||||
gpos = list()
|
||||
if Dconf_registry.get_info('machine_name') == username:
|
||||
dconf_dict = Dconf_registry.get_dictionary_from_dconf_file_db()
|
||||
dconf_dict = Dconf_registry.get_dictionary_from_dconf_file_db(save_dconf_db=True)
|
||||
else:
|
||||
dconf_dict = Dconf_registry.get_dictionary_from_dconf_file_db(get_uid_by_username(username))
|
||||
dconf_dict = Dconf_registry.get_dictionary_from_dconf_file_db(get_uid_by_username(username), save_dconf_db=True)
|
||||
dict_gpo_name_version = extract_display_name_version(dconf_dict)
|
||||
try:
|
||||
log('D48')
|
||||
|
Loading…
Reference in New Issue
Block a user