Re: yum 3.2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fajar A. Nugraha wrote:
> Attached is a patch which simply skips self.ts_done when
> len(self._te_tuples) < 1. This doesn't solve the root cause, but at
> least it allows yum to exit cleanly :)
>
>   
Forgot to attach the patch :-P

--- yum/rpmtrans.py.old	2007-08-16 00:27:19.000000000 +0700
+++ yum/rpmtrans.py	2007-08-29 16:31:39.000000000 +0700
@@ -308,6 +308,7 @@
             txmbrs = self.base.tsInfo.getMembers(pkgtup=pkgtup)
             for txmbr in txmbrs:
                 self.display.filelog(txmbr.po, txmbr.output_state)
+                if len(self._te_tuples) < 1: continue
                 self.ts_done(txmbr.po, txmbr.output_state)
                 
                 
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux