[blivet master 1/3] Use the i18n module instead of creating new gettext methods
David Shea
dshea at redhat.com
Wed Oct 15 15:32:37 UTC 2014
---
blivet/devicelibs/dasd.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/blivet/devicelibs/dasd.py b/blivet/devicelibs/dasd.py
index 73284e8..e8ffdd5 100644
--- a/blivet/devicelibs/dasd.py
+++ b/blivet/devicelibs/dasd.py
@@ -28,9 +28,7 @@ from blivet import arch
import logging
log = logging.getLogger("blivet")
-import gettext
-_ = lambda x: gettext.ldgettext("blivet", x)
-P_ = lambda x, y, z: gettext.ldngettext("blivet", x, y, z)
+from blivet.i18n import _
def get_dasd_ports():
""" Return comma delimited string of valid DASD ports. """
--
2.1.0
More information about the anaconda-patches
mailing list