[Yum-devel] [PATCH] Show obsoletes in check-update if obsoletes processing is on, BZ 526064
James Antill
james at and.org
Tue Sep 29 19:04:58 UTC 2009
---
yumcommands.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/yumcommands.py b/yumcommands.py
index 82c679b..1451a36 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -577,7 +577,8 @@ class CheckUpdateCommand(YumCommand):
result = 0
try:
ypl = base.returnPkgLists(extcmds)
- if base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3):
+ if (base.conf.obsoletes or
+ base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3)):
typl = base.returnPkgLists(['obsoletes'])
ypl.obsoletes = typl.obsoletes
ypl.obsoletesTuples = typl.obsoletesTuples
--
1.6.2.5
More information about the Yum-devel
mailing list