fixed missing log assignment

This commit is contained in:
2019-12-16 21:29:53 +01:00
parent 44088bd64b
commit 32b98e4dbc

View File

@ -13,6 +13,7 @@ import sau.platforms
proc_fd_map_re = re.compile(r'^.*(/[^\(]*) \(deleted\)$')
def _warn(policy, msg):
log = logging.getLogger(sau.LOGNAME)
if not policy.startswith('silent'):
log.warning(msg)