fixed missing log assignment
This commit is contained in:
parent
44088bd64b
commit
32b98e4dbc
@ -13,6 +13,7 @@ import sau.platforms
|
|||||||
proc_fd_map_re = re.compile(r'^.*(/[^\(]*) \(deleted\)$')
|
proc_fd_map_re = re.compile(r'^.*(/[^\(]*) \(deleted\)$')
|
||||||
|
|
||||||
def _warn(policy, msg):
|
def _warn(policy, msg):
|
||||||
|
log = logging.getLogger(sau.LOGNAME)
|
||||||
if not policy.startswith('silent'):
|
if not policy.startswith('silent'):
|
||||||
log.warning(msg)
|
log.warning(msg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user