[yum-cvs] yum/rpmtrans.py
Seth Vidal
skvidal at linux.duke.edu
Tue Aug 14 13:21:21 UTC 2007
yum/rpmtrans.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 3ddc80cb297d1746809ad0799ca10ad5db2c38bd
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Aug 14 09:18:35 2007 -0400
kill i18n import from rpmtrans and the single user of it
this will need to be partially put back when we finally fix translations
diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index 0206262..1c1d1b2 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -22,7 +22,6 @@ import sys
import logging
from yum.constants import *
-from i18n import _
class NoOutputCallBack:
def __init__(self):
@@ -190,7 +189,7 @@ class RPMTransaction:
self.installed_pkg_names.append(hdr['name'])
return fd
else:
- self.display.errorlog(_("Error: No Header to INST_OPEN_FILE"))
+ self.display.errorlog("Error: No Header to INST_OPEN_FILE")
def _instCloseFile(self, bytes, total, h):
hdr = None
if h is not None:
More information about the Yum-cvs-commits
mailing list