This commit is contained in:
Thomas Nagy 2017-12-10 21:43:38 +01:00
parent 9effdff4c3
commit bda66f00c3
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
2 changed files with 5 additions and 1 deletions

View File

@ -331,7 +331,7 @@ f.close()
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.imgmath', 'sphinx.ext.inheritance_diagram', 'sphinx.ext.graphviz', 'sphinx.ext.viewcode']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.pngmath', 'sphinx.ext.inheritance_diagram', 'sphinx.ext.graphviz', 'sphinx.ext.viewcode']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@ -54,6 +54,10 @@ sys.exit(status)
@taskgen_method
def handle_ut_cwd(self, key):
"""
Task generator method, used internally to limit code duplication.
This method may disappear anytime.
"""
cwd = getattr(self, key, None)
if cwd:
if isinstance(cwd, str):