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:
Swapnil Kulkarni (coolsvap) 2016-01-05 12:58:23 +05:30
parent 3b0330ee25
commit 928a14934a
1 changed files with 1 additions and 1 deletions

View File

@ -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: