dnf/0035-base-set-priority-to-hawkey-repo-as-well-RhBug-14700.patch
2017-09-13 18:51:25 +02:00

29 lines
872 B
Diff

From d068279fa27d063745544bbe009d10422eae5327 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenko@redhat.com>
Date: Sun, 27 Aug 2017 22:12:36 +0200
Subject: [PATCH 35/50] base: set priority to hawkey repo as well
(RhBug:1470050)
References: https://bugzilla.redhat.com/show_bug.cgi?id=1470050
Reported-by: Pavel Raiskup <praiskup@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
---
dnf/base.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dnf/base.py b/dnf/base.py
index ab8812dd..0ea2f4d8 100644
--- a/dnf/base.py
+++ b/dnf/base.py
@@ -118,6 +118,7 @@ class Base(object):
hrepo.primary_fn = repo._primary_fn
hrepo.filelists_fn = repo._filelists_fn
hrepo.cost = repo.cost
+ hrepo.priority = repo.priority
if repo._presto_fn:
hrepo.presto_fn = repo._presto_fn
else:
--
2.13.5