Merge "Add i18n translation common 5/5"
This commit is contained in:
commit
b5d2d130b3
|
@ -19,6 +19,7 @@ import abc
|
|||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from trove.common.i18n import _
|
||||
from trove.common import utils
|
||||
|
||||
|
||||
|
@ -53,7 +54,7 @@ class Strategy(object):
|
|||
ns = ns or cls.__strategy_ns__
|
||||
if ns is None:
|
||||
raise RuntimeError(
|
||||
'No namespace provided or __strategy_ns__ unset')
|
||||
_('No namespace provided and __strategy_ns__ unset'))
|
||||
|
||||
LOG.debug('Looking for strategy %s in %s', name, ns)
|
||||
|
||||
|
|
Loading…
Reference in New Issue