richardphibel / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone
Blob Blame History Raw
From 777df1098f4215edb8339a56c1807c9217715142 Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek <jmracek@redhat.com>
Date: Mon, 27 Nov 2017 14:38:08 +0100
Subject: [PATCH 2/3] Remove redundant conf option cacheonly

The option was defined twice in "dnf.conf".
---
 dnf/conf/config.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dnf/conf/config.py b/dnf/conf/config.py
index f0c39665..f2098fc6 100644
--- a/dnf/conf/config.py
+++ b/dnf/conf/config.py
@@ -778,7 +778,6 @@ class MainConf(BaseConfig):
         # runtime only options
         self._add_option('downloadonly', BoolOption(False, runtimeonly=True))
         self._add_option('ignorearch', BoolOption(False))
-        self._add_option('cacheonly', BoolOption(False))
 
     @property
     def get_reposdir(self):
-- 
2.13.6