diff --git a/pykickstart/commands/reqpart.py b/pykickstart/commands/reqpart.py index 76bfd71a..0d69699a 100644 --- a/pykickstart/commands/reqpart.py +++ b/pykickstart/commands/reqpart.py @@ -22,9 +22,7 @@ from pykickstart.errors import KickstartParseError, formatErrorMsg from pykickstart.options import KSOptionParser -import gettext -# typeshed is missing the stub for ldgettext -_ = lambda x: gettext.ldgettext("pykickstart", x) +from pykickstart.i18n import _ class F23_ReqPart(KickstartCommand): removedKeywords = KickstartCommand.removedKeywords