Ignore dnf.logging when building docs
This commit is contained in:
parent
b1daf6fcd3
commit
07de4c371a
@ -392,6 +392,6 @@ class Mock(object):
|
|||||||
def __getitem__(cls, key):
|
def __getitem__(cls, key):
|
||||||
return cls.__getattr__(key)
|
return cls.__getattr__(key)
|
||||||
|
|
||||||
MOCK_MODULES = ["selinux", "dnf", "dnf.transaction", "rpmUtils", "rpmUtils.arch"]
|
MOCK_MODULES = ["selinux", "dnf", "dnf.logging", "dnf.transaction", "rpmUtils", "rpmUtils.arch"]
|
||||||
for mod_name in MOCK_MODULES:
|
for mod_name in MOCK_MODULES:
|
||||||
sys.modules[mod_name] = Mock()
|
sys.modules[mod_name] = Mock()
|
||||||
|
Loading…
Reference in New Issue
Block a user