diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-12-31 07:45:06 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-12-31 07:45:06 +0000 |
| commit | 91a655105f6839bc9aefb48484ed9bc4b2fb5f80 (patch) | |
| tree | d0e3fb67c3bda77f2306f2d0b4725e88442d798e | |
| parent | d08db850ec30d8458cd99d37ea9f3d33df8edce6 (diff) | |
| parent | 2fde87a0e91689aaf3c918209f1ee8a1d832d6f3 (diff) | |
| download | kolla-91a655105f6839bc9aefb48484ed9bc4b2fb5f80.tar.gz kolla-91a655105f6839bc9aefb48484ed9bc4b2fb5f80.zip | |
Merge "Python 3 deprecated the logger.warn method in favor of warning"
| -rw-r--r-- | docker/base/set_configs.py | 2 | ||||
| -rw-r--r-- | tests/clients.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py index 6da2704b9..d426b3569 100644 --- a/docker/base/set_configs.py +++ b/docker/base/set_configs.py @@ -57,7 +57,7 @@ def validate_source(data): if not exists: if data.get('optional'): - LOG.warn("%s does not exist, but is not required", source) + LOG.warning("%s does not exist, but is not required", source) return False else: LOG.error("The source to copy does not exist: %s", source) diff --git a/tests/clients.py b/tests/clients.py index 6b2aef528..a845579b1 100644 --- a/tests/clients.py +++ b/tests/clients.py @@ -37,7 +37,7 @@ class OpenStackClients(object): return connected_client except StopIteration: - LOG.warn("Requested client %s not found", name) + LOG.warning("Requested client %s not found", name) raise def create(self): |
