[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH pykickstart] Remove rhpl from tests.



---
 tests/baseclass.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/baseclass.py b/tests/baseclass.py
index 3281f13..7f2f3dc 100644
--- a/tests/baseclass.py
+++ b/tests/baseclass.py
@@ -9,7 +9,9 @@ import re
 
 from pykickstart.version import versionMap, returnClassForVersion
 from pykickstart.errors import *
-from rhpl.translate import _
+import gettext
+gettext.textdomain("pykickstart")
+_ = lambda x: gettext.ldgettext("pykickstart", x)
 
 # Base class for any test case
 class CommandTest(unittest.TestCase):
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]