Use i18n and not gettext for infoblox

Change-Id: I76d414775dd67865d71f23f5cb945003dc9e7c53
This commit is contained in:
Erik Olof Gunnar Andersson 2023-07-30 18:41:54 +02:00
parent 2f42343acf
commit 85646cf19a
2 changed files with 2 additions and 11 deletions

View File

@ -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):

View File

@ -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__)