Merge "Use i18n and not gettext for infoblox"

This commit is contained in:
Zuul
2023-08-01 11:42:37 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 11 deletions
@@ -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__)