Mock the selinux package for RTD

This commit is contained in:
Brian C. Lane 2015-04-09 10:26:14 -07:00
parent f40dadf9be
commit da59f8af4b
1 changed files with 1 additions and 1 deletions

View File

@ -377,6 +377,6 @@ class Mock(object):
def __getitem__(cls, key):
return cls.__getattr__(key)
MOCK_MODULES = []
MOCK_MODULES = ["selinux"]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()