diff options
author | Adrian Likins <alikins@redhat.com> | 2007-09-28 15:28:05 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-09-28 15:28:05 -0400 |
commit | 99a55551d25a81bf019a90193f084eba386f2512 (patch) | |
tree | 1118d880a7b574b178e8d732986f43fe986dfb26 | |
parent | c36de46938255f1e16861981db3c59990e6f7b0c (diff) | |
download | third_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.spec | 4 | ||||
-rwxr-xr-x | minion/module_loader.py | 3 | ||||
-rwxr-xr-x | minion/server.py | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -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" |