Use i18n and not gettext for infoblox
Change-Id: I76d414775dd67865d71f23f5cb945003dc9e7c53
This commit is contained in:
parent
2f42343acf
commit
85646cf19a
|
@ -12,12 +12,8 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import gettext
|
||||
|
||||
from designate import exceptions
|
||||
|
||||
_ = gettext.gettext
|
||||
from designate.i18n import _
|
||||
|
||||
|
||||
class InfobloxExceptionBase(exceptions.Backend):
|
||||
|
|
|
@ -12,15 +12,10 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
import gettext
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from designate.backend.impl_infoblox import ibexceptions as exc
|
||||
|
||||
_ = gettext.gettext
|
||||
from designate.i18n import _
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue