Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. It still used in a few places. Updated to non-deprecated LOG.warning. Change-Id: Ifa7e39d513c4f51a50b7516daa57f60141bbebb2 Closes-Bug:#1508442
This commit is contained in:
parent
3b0330ee25
commit
928a14934a
|
@ -131,7 +131,7 @@ class PrivContext(object):
|
|||
|
||||
def start(self, method=Method.ROOTWRAP):
|
||||
if self.channel is not None:
|
||||
LOG.warn(_LW('privsep daemon already running'))
|
||||
LOG.warning(_LW('privsep daemon already running'))
|
||||
return
|
||||
|
||||
if method is Method.ROOTWRAP:
|
||||
|
|
Loading…
Reference in New Issue