summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-28 15:28:05 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-28 15:28:05 -0400
commit99a55551d25a81bf019a90193f084eba386f2512 (patch)
tree1118d880a7b574b178e8d732986f43fe986dfb26
parentc36de46938255f1e16861981db3c59990e6f7b0c (diff)
downloadthird_party-func-99a55551d25a81bf019a90193f084eba386f2512.tar.gz
third_party-func-99a55551d25a81bf019a90193f084eba386f2512.tar.xz
third_party-func-99a55551d25a81bf019a90193f084eba386f2512.zip
remove rhpl dep
use python gettext instead of rhpl.gettext stuff
-rw-r--r--func.spec4
-rwxr-xr-xminion/module_loader.py3
-rwxr-xr-xminion/server.py2
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 <alikins@redhat.com> - 0.0.12-1
+- remove rhpl deps
+
* Fri Sep 28 2007 Michael DeHaan <mdehaan@redhat.com> - 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"