diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-05-18 16:51:14 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-05-18 16:52:20 +0100 |
commit | eee57f2380518131338dbff3d63803e15b68e7fa (patch) | |
tree | 25b9884d148174e37d0998692baf40346e27a57c /nova/service.py | |
parent | b8fe7fac846d441f133088c35086f46896875d71 (diff) | |
download | nova-eee57f2380518131338dbff3d63803e15b68e7fa.tar.gz |
trivial: Remove remaining '_LE' instances
We've been slowly removing these as we go. Remove the final few '_LE'
occurrences now.
Change-Id: I75ebd2e95a0c77585d7b4329ca01e4bacc1dd7c4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/service.py')
-rw-r--r-- | nova/service.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/service.py b/nova/service.py index 16703a9450..9bb4d69437 100644 --- a/nova/service.py +++ b/nova/service.py @@ -34,7 +34,7 @@ import nova.conf from nova import context from nova import debugger from nova import exception -from nova.i18n import _, _LE, _LI, _LW +from nova.i18n import _, _LI, _LW from nova import objects from nova.objects import base as objects_base from nova.objects import service as service_obj @@ -295,7 +295,7 @@ class Service(service.Service): try: self.manager.cleanup_host() except Exception: - LOG.exception(_LE('Service error occurred during cleanup_host')) + LOG.exception('Service error occurred during cleanup_host') pass super(Service, self).stop() @@ -312,7 +312,7 @@ class Service(service.Service): with utils.tempdir(): pass except Exception as e: - LOG.error(_LE('Temporary directory is invalid: %s'), e) + LOG.error('Temporary directory is invalid: %s', e) sys.exit(1) def reset(self): |