summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2009-06-30 15:48:47 -0400
committerJeremy Katz <katzj@redhat.com>2009-07-01 10:21:36 -0400
commit4a96b26da24f705156beea543868b1418ced07db (patch)
treed70732602b75aaa54e7dafb0c5b4a8342dfd128e /iutil.py
parentd2f5b023c2296ea8e4fa6448bfb9a6517da82a80 (diff)
downloadanaconda-4a96b26da24f705156beea543868b1418ced07db.tar.gz
anaconda-4a96b26da24f705156beea543868b1418ced07db.tar.xz
anaconda-4a96b26da24f705156beea543868b1418ced07db.zip
Stop using rhpl.translate
Use python's gettext module instead of rhpl.translate
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index ba1d0b4df..f80d4a5ed 100644
--- a/iutil.py
+++ b/iutil.py
@@ -31,9 +31,11 @@ import warnings
import subprocess
from flags import flags
from constants import *
-from rhpl.translate import _
import re
+import gettext
+_ = lambda x: gettext.ldgettext("anaconda", x)
+
import logging
log = logging.getLogger("anaconda")