diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-05-18 16:56:35 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-05-18 17:00:41 +0100 |
commit | 3a28b0e7717145bfb336138fb74a015913195725 (patch) | |
tree | 3a211c1d29dae0017fcf0c4610f8519ccf268e31 /nova/debugger.py | |
parent | eee57f2380518131338dbff3d63803e15b68e7fa (diff) | |
download | nova-3a28b0e7717145bfb336138fb74a015913195725.tar.gz |
trivial: Remove remaining '_LW' instances
There are only a few of these remaining in the code base. Remove them.
Change-Id: I33725e2439b0f39c1e9bec9e33a37bf3e24944fb
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/debugger.py')
-rw-r--r-- | nova/debugger.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nova/debugger.py b/nova/debugger.py index a735775c1a..6e52e712eb 100644 --- a/nova/debugger.py +++ b/nova/debugger.py @@ -37,7 +37,6 @@ def init(): if not (CONF.remote_debug.host and CONF.remote_debug.port): return - from nova.i18n import _LW from oslo_log import log as logging LOG = logging.getLogger(__name__) @@ -49,12 +48,13 @@ def init(): from pydev import pydevd except ImportError: import pydevd + pydevd.settrace(host=CONF.remote_debug.host, port=CONF.remote_debug.port, stdoutToServer=False, stderrToServer=False) - LOG.warning(_LW('WARNING: Using the remote debug option changes how ' - 'Nova uses the eventlet library to support async IO. This ' - 'could result in failures that do not occur under normal ' - 'operation. Use at your own risk.')) + LOG.warning('WARNING: Using the remote debug option changes how ' + 'Nova uses the eventlet library to support async IO. This ' + 'could result in failures that do not occur under normal ' + 'operation. Use at your own risk.') |