1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-01-08 17:17:53 +03:00

Added usage version

This commit is contained in:
Valery Sinelnikov 2024-04-26 10:29:58 +04:00
parent 2a174edeef
commit 42b8bdb82a

View File

@ -174,9 +174,9 @@ class samba_backend(applier_backend):
log('D30', slogdata)
gpt_abspath = os.path.join(self.cache_dir, 'gpo_cache', path)
if self._is_machine_username:
obj = gpt(gpt_abspath, sid, None)
obj = gpt(gpt_abspath, sid, None, version=gpo.version)
else:
obj = gpt(gpt_abspath, sid, self.username)
obj = gpt(gpt_abspath, sid, self.username, version=gpo.version)
obj.set_name(gpo.display_name)
gpts.append(obj)
else: