Remove deprectaed warnings
Remove: "vmware_nsx/db/lsn_db.py:55: DeprecationWarning: Using function/method 'instance.ugettext()' is deprecated: Builtin _ translation function is deprecated in OpenStack; use the function from _i18n module for your project. msg = _('Unable to find Logical Service Node for network %s')" Change-Id: Ia813c011a41e5798e7b07d096e56792a0366620f
This commit is contained in:
parent
37b7a487e1
commit
ccdce866c6
@ -19,6 +19,7 @@ from oslo_db import exception as d_exc
|
||||
from oslo_log import log as logging
|
||||
from sqlalchemy import orm
|
||||
|
||||
from vmware_nsx._i18n import _
|
||||
from vmware_nsx.common import exceptions as p_exc
|
||||
from vmware_nsx.db import nsx_models
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user