From 63cc38bfdda4477eed552a88b95903dfdea92c5c Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 20 Jul 2018 15:48:18 -0700 Subject: [PATCH] Add dnf.transaction to list of modules for sphinx to ignore (cherry picked from commit 0ff9a674caf74d0b3863eb061a1ac2fd360bce9e) --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index fbf68cf6..852ef876 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -392,6 +392,6 @@ class Mock(object): def __getitem__(cls, key): return cls.__getattr__(key) -MOCK_MODULES = ["selinux", "dnf", "rpmUtils", "rpmUtils.arch"] +MOCK_MODULES = ["selinux", "dnf", "dnf.transaction", "rpmUtils", "rpmUtils.arch"] for mod_name in MOCK_MODULES: sys.modules[mod_name] = Mock()