[Yum-devel] [PATCH] fix typo in rpmtrans - fixes rh bug #532933

Seth Vidal skvidal at fedoraproject.org
Wed Nov 4 14:55:03 UTC 2009


---
 yum/rpmtrans.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index b1b896f..99870f7 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -420,7 +420,7 @@ class RPMTransaction:
             try:
                 fd = os.open(rpmloc, os.O_RDONLY)
             except OSError, e:
-                self.displaylog.errorlog("Error: Cannot open file %s: %s" % (rpmloc, e))
+                self.display.errorlog("Error: Cannot open file %s: %s" % (rpmloc, e))
             else:
                 self.filehandles[handle]=fd
                 if self.trans_running:
-- 
1.6.2.5



More information about the Yum-devel mailing list