from neutron.cmd.sanity import checks
from neutron.common import config
+from neutron.openstack.common.gettextutils import _LE
from neutron.openstack.common import log as logging
from oslo.config import cfg
def check_nova_notify():
result = checks.nova_notify_supported()
if not result:
- LOG.error(_('Nova notifcations are enabled, but novaclient is not '
- 'installed. Either disable nova notifications or install '
- 'python-novaclient.'))
+ LOG.error(_LE('Nova notifications are enabled, but novaclient is not '
+ 'installed. Either disable nova notifications or '
+ 'install python-novaclient.'))
return result