Ticket #4539: trac4539_docbuild_reviewer.patch

File trac4539_docbuild_reviewer.patch, 506 bytes (added by AlexanderDreyer, 5 years ago)
  • doc/common/conf.py

    # HG changeset patch
    # Parent 37465f96e233e9c237c7c659a3792f680e705a4f
    
    diff --git a/doc/common/conf.py b/doc/common/conf.py
    a b  
    375375    if getattr(obj, '__module__', None) == '__builtin__':
    376376        return True
    377377
    378     if (hasattr(obj, '__name__') and obj.__name__.find('.') != -1 and
     378    if (hasattr(obj, '__name__') and obj.__name__ and obj.__name__.find('.') != -1 and
    379379        obj.__name__.split('.')[-1] != name):
    380380        return True
    381381