Use i18n directly

We should use i18n directly rather than openstack/common.

Change-Id: I64d3abce4ee2747b670bc921ffbb03d76defd42c
This commit is contained in:
wangxiyuan
2015-11-13 15:29:09 +08:00
parent 0c348313a4
commit 57be02dcd2
5 changed files with 39 additions and 7 deletions

View File

@@ -29,13 +29,12 @@ from watcher.common import exception
from watcher.common import utils
from watcher.db import api
from watcher.db.sqlalchemy import models
from watcher import i18n
from watcher.objects.audit import AuditStatus
from watcher.openstack.common._i18n import _
CONF = cfg.CONF
LOG = log.getLogger(__name__)
_ = i18n._
_FACADE = None