use log.warning instead of log.warn

we noticed this in our py34 gate job:

oslo_log/versionutils.py:274
  DeprecationWarning The 'warn' method is deprecated, use 'warning' instead

Change-Id: I8a7d26b5ad55ff46cb8fcebf0b6812d4554ca2e9
Closes-Bug: 1508442
This commit is contained in:
Steve Martinelli 2016-02-24 11:34:43 -05:00
parent 38db7f2d08
commit 3836095f8c
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def report_deprecated_feature(logger, msg, *args, **kwargs):
return
sent_args.append(args)
logger.warn(stdmsg, *args, **kwargs)
logger.warning(stdmsg, *args, **kwargs)
class DeprecatedConfig(Exception):