diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-19 06:54:22 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-19 06:54:22 +0300 |
commit | f75f447ce85f3ad0d26b9f9cc9343790aa7314fc (patch) | |
tree | c21e2f2f04bf6461da672bc4214a4ab65010cdd8 /doc | |
parent | eecb90d8d2ec68f4f3cb8b47ee9828dad5af60d6 (diff) | |
parent | e6acc4db72d99a3eb5039f6534dc8654873a6535 (diff) |
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 930e5b88911..12ffe5b6edf 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -81,6 +81,7 @@ import sys import inspect import shutil import logging +import warning from textwrap import indent @@ -1204,7 +1205,7 @@ def pycontext2sphinx(basepath): # for member in sorted(unique): # print(' "%s": ("", False),' % member) if len(context_type_map) > len(unique): - raise Exception( + warnings.warn( "Some types are not used: %s" % str([member for member in context_type_map if member not in unique])) else: |