mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
cifs applier logging improved
This commit is contained in:
parent
3a16e6eb7e
commit
e8c71aa913
@ -20,6 +20,7 @@ import fileinput
|
||||
import jinja2
|
||||
import os
|
||||
import subprocess
|
||||
import logging
|
||||
from pathlib import Path
|
||||
|
||||
from .applier_frontend import (
|
||||
@ -28,6 +29,7 @@ from .applier_frontend import (
|
||||
)
|
||||
from gpt.drives import json2drive
|
||||
from util.util import get_homedir
|
||||
from util.logging import slogm
|
||||
|
||||
def storage_get_drives(storage, sid):
|
||||
drives = storage.get_drives(sid)
|
||||
@ -155,5 +157,8 @@ class cifs_applier_user(applier_frontend):
|
||||
|
||||
def admin_context_apply(self):
|
||||
if self.__module_enabled:
|
||||
logging.debug(slogm('Running CIFS applier for user in administrator context'))
|
||||
self.__admin_context_apply()
|
||||
else:
|
||||
logging.debug(slogm('CIFS applier for user in administrator context will not be started'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user