mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Correcting logs in class methods
This commit is contained in:
parent
9117dddcee
commit
12865b0b43
@ -122,6 +122,7 @@ class Dconf_registry():
|
||||
|
||||
@staticmethod
|
||||
def get_key_value(key):
|
||||
logdata = dict()
|
||||
try:
|
||||
process = subprocess.Popen(['dconf', 'read', key],
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||
@ -163,6 +164,7 @@ class Dconf_registry():
|
||||
|
||||
@classmethod
|
||||
def apply_template(self, uid):
|
||||
logdata = dict()
|
||||
if uid and self.check_profile_template():
|
||||
with open(self.__template_file, "r") as f:
|
||||
template = f.read()
|
||||
|
Loading…
x
Reference in New Issue
Block a user