Skip to content

Commit

Permalink
Converted to non-deprecated warning method.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenden committed Sep 11, 2018
1 parent cf1411a commit 002e5f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deployer/util.py
Expand Up @@ -90,7 +90,7 @@ def processEnded(self, reason):

# Display the entire log.
for line in self.file:
LOGGER.warn("| %s" % line)
LOGGER.warning("| %s" % line)

# Resolve the deferred.
self.d.errback(reason)
Expand Down Expand Up @@ -137,7 +137,7 @@ def processEnded(self, reason):
LOGGER.info("| %s" % self.outBuf)

if len(self.errBuf): # noqa: no-cover
LOGGER.warn("! %s" % self.errBuf)
LOGGER.warning("! %s" % self.errBuf)

if reason.check(ProcessDone):
self.d.callback(''.join(self.capBuf))
Expand Down

0 comments on commit 002e5f5

Please sign in to comment.