commit | 738ffcb69f4ff10dc5dfe81422adff99f953d7e5 | [log] [tgz] |
---|---|---|
author | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | Mon Sep 26 15:35:23 2016 +0700 |
committer | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | Mon Sep 26 15:35:23 2016 +0700 |
tree | b978d3de481bbc129b0c0dc46a69fb16634d953f | |
parent | 9d94e214281e0873d7e72f76d779fe42316f1f8e [diff] |
Fix LOG.warn to LOG.warning logging.warn is deprecated in Python 3. https://docs.python.org/3/library/logging.html#logging.warning Change-Id: I5ba02445e42ff1dae55ac59d0da2b0bd67fea495
diff --git a/tempest/clients.py b/tempest/clients.py index b13b809..edc34bd 100644 --- a/tempest/clients.py +++ b/tempest/clients.py
@@ -117,7 +117,7 @@ configuration[service_for_config] = ( config.service_client_config(service_for_config)) except lib_exc.UnknownServiceClient: - LOG.warn( + LOG.warning( 'Could not load configuration for service %s' % service) return configuration