diff options
| author | ZhiQiang Fan <aji.zqfan@gmail.com> | 2015-10-24 03:18:27 -0600 |
|---|---|---|
| committer | ZhiQiang Fan <aji.zqfan@gmail.com> | 2015-10-24 03:22:36 -0600 |
| commit | 9e75ba5460a8d472bb0555053cd796e218e6ecdf (patch) | |
| tree | 9ab6e06c1fe0a7af54327d81124cf36d364de83a /ironic_python_agent/netutils.py | |
| parent | 5a962e4ac7eb88a31f8a0cb7da6ba354b7466972 (diff) | |
| download | ironic-python-agent-9e75ba5460a8d472bb0555053cd796e218e6ecdf.tar.gz | |
Use oslo.log instead of original logging
We are using oslo.log now, but some of the modules still use logging.
We should use oslo.log to keep consistency, besides, oslo.log can
provide fine wrapper for OpenStack projects.
Change-Id: Ibe57e503b88b39e284a9e4b11a1886cd4e8d4ccf
Diffstat (limited to 'ironic_python_agent/netutils.py')
| -rw-r--r-- | ironic_python_agent/netutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/netutils.py b/ironic_python_agent/netutils.py index 5a89cd8b..ca06d7e1 100644 --- a/ironic_python_agent/netutils.py +++ b/ironic_python_agent/netutils.py @@ -14,13 +14,13 @@ import ctypes import fcntl -import logging import select import socket import struct import sys from oslo_config import cfg +from oslo_log import log as logging # FIXME(lucasagomes): If you don't import the agent module the tests in # this file will fail, it was working before because the agent module was |
