use logging.warning() to quiet py37 warnings

This commit is contained in:
Noah Levitt 2019-04-09 01:43:38 -07:00
parent dfd9d9ecdd
commit 433b201b52
9 changed files with 21 additions and 21 deletions

View file

@ -684,7 +684,7 @@ def test_warcprox_outage_resiliency(httpd):
try:
stop_service('warcprox')
except Exception as e:
logging.warn('problem stopping warcprox service: %s', e)
logging.warning('problem stopping warcprox service: %s', e)
# queue the site for brozzling
brozzler.new_site(frontier, site)