mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-10-25 19:33:35 +03:00
Policy set retrieval separated to ease code reading
This commit is contained in:
@@ -71,6 +71,14 @@ class samba_backend(applier_backend):
|
||||
self.username = username
|
||||
self.sid = sid
|
||||
|
||||
def retrieve_and_store(self):
|
||||
'''
|
||||
Retrieve settings and strore it in a database
|
||||
'''
|
||||
# FIXME: Please note that get_policy_set return value has no
|
||||
# meaning since we're using setting storage, so code must
|
||||
# be simplified
|
||||
|
||||
# Get policies for machine at first.
|
||||
self.machine_policy_set = self.get_policy_set(util.get_machine_name(), None, True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user