You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
811 B
19 lines
811 B
commit 834a4ff4f2752631252cff4e3b2ba87bee62965b |
|
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com> |
|
Date: Thu Dec 10 16:24:18 2015 +0100 |
|
|
|
yum-plugin-priorities: get all obsoletes, not just the newest. BZ#1269414 |
|
|
|
diff --git a/plugins/priorities/priorities.py b/plugins/priorities/priorities.py |
|
index ce98583..006c545 100644 |
|
--- a/plugins/priorities/priorities.py |
|
+++ b/plugins/priorities/priorities.py |
|
@@ -111,7 +111,7 @@ def exclude_hook(conduit): |
|
if check_obsoletes and not conduit._base.conf.obsoletes: |
|
check_obsoletes = False |
|
if check_obsoletes: |
|
- obsoletes = conduit._base.up.rawobsoletes |
|
+ obsoletes = conduit._base.pkgSack.returnObsoletes() |
|
|
|
# Build a dictionary with package priorities. Either with arch or |
|
# archless, based on the user's settings.
|
|
|