diff --git a/designate/backend/impl_infoblox/ibexceptions.py b/designate/backend/impl_infoblox/ibexceptions.py index dc319fc07..13697925a 100644 --- a/designate/backend/impl_infoblox/ibexceptions.py +++ b/designate/backend/impl_infoblox/ibexceptions.py @@ -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): diff --git a/designate/backend/impl_infoblox/object_manipulator.py b/designate/backend/impl_infoblox/object_manipulator.py index dbbb431d1..79b7fa761 100644 --- a/designate/backend/impl_infoblox/object_manipulator.py +++ b/designate/backend/impl_infoblox/object_manipulator.py @@ -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__)