Drop use of namespaced oslo.i18n
Related-blueprint: drop-namespace-packages Change-Id: Ic8247cb896ba6337932d7a74618debd698584fa0
This commit is contained in:
parent
67181a8610
commit
343e3bd0e1
@ -14,9 +14,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo import i18n
|
||||
import oslo_i18n
|
||||
|
||||
_translators = i18n.TranslatorFactory(domain='oslo.concurrency')
|
||||
_translators = oslo_i18n.TranslatorFactory(domain='oslo.concurrency')
|
||||
|
||||
# The primary translation function using the well-known name "_"
|
||||
_ = _translators.primary
|
||||
|
Loading…
Reference in New Issue
Block a user