From 99a55551d25a81bf019a90193f084eba386f2512 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Fri, 28 Sep 2007 15:28:05 -0400 Subject: remove rhpl dep use python gettext instead of rhpl.gettext stuff --- func.spec | 4 +++- minion/module_loader.py | 3 ++- minion/server.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/func.spec b/func.spec index b0547b9..5586963 100644 --- a/func.spec +++ b/func.spec @@ -10,7 +10,6 @@ Source0: %{name}-%{version}.tar.gz License: GPL+ Group: Applications/System Requires: python >= 2.3 -Requires: rhpl Requires: pyOpenSSL BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -74,6 +73,9 @@ fi %changelog +* Fri Sep 28 2007 Adrian Likins - 0.0.12-1 +- remove rhpl deps + * Fri Sep 28 2007 Michael DeHaan - 0.0.12-1 - bump version and get ready for first public release - add BuildRequires python-devel diff --git a/minion/module_loader.py b/minion/module_loader.py index eef7433..4538fb2 100755 --- a/minion/module_loader.py +++ b/minion/module_loader.py @@ -18,7 +18,8 @@ import distutils.sysconfig import os import sys -from rhpl.translate import _ +from gettext import gettext +_ = gettext def module_walker(topdir): diff --git a/minion/server.py b/minion/server.py index 7c2c149..5671836 100755 --- a/minion/server.py +++ b/minion/server.py @@ -21,7 +21,7 @@ import sys import traceback import socket -from rhpl.translate import textdomain +from gettext import textdomain I18N_DOMAIN = "func" -- cgit