Merge "Only define CONTEXT_SEPARATOR once"
This commit is contained in:
commit
cefa61014a
|
@ -31,7 +31,7 @@ __all__ = [
|
|||
]
|
||||
|
||||
# magic gettext number to separate context from message
|
||||
CONTEXT_SEPARATOR = "\x04"
|
||||
CONTEXT_SEPARATOR = _message.CONTEXT_SEPARATOR
|
||||
|
||||
|
||||
class TranslatorFactory(object):
|
||||
|
|
|
@ -23,7 +23,7 @@ from oslo_i18n import _lazy
|
|||
from oslo_i18n import _message
|
||||
|
||||
# magic gettext number to separate context from message
|
||||
CONTEXT_SEPARATOR = "\x04"
|
||||
CONTEXT_SEPARATOR = _message.CONTEXT_SEPARATOR
|
||||
|
||||
|
||||
class TranslatorFactoryTest(test_base.BaseTestCase):
|
||||
|
|
Loading…
Reference in New Issue