mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-11-01 04:23:51 +03:00
Replace with_privileges function to separate system module
This commit is contained in:
@@ -55,9 +55,9 @@ from util.users import (
|
||||
is_root,
|
||||
get_process_user,
|
||||
username_match_uid,
|
||||
with_privileges
|
||||
)
|
||||
from util.logging import log
|
||||
from util.system import with_privileges
|
||||
|
||||
|
||||
def determine_username(username=None):
|
||||
|
||||
Reference in New Issue
Block a user