Add dnf.transaction to list of modules for sphinx to ignore

(cherry picked from commit 0ff9a674ca)
This commit is contained in:
Brian C. Lane 2018-07-20 15:48:18 -07:00
parent e00bb491a6
commit 63cc38bfdd

View File

@ -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()