We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d16c1c commit 68a5b8eCopy full SHA for 68a5b8e
tk_toolchain/cmd_line_tools/tk_docs_generation/__init__.py
@@ -199,13 +199,10 @@ def main(arguments=None):
199
try:
200
import PySide6 # noqa
201
except ImportError:
202
- try:
203
- import PySide # noqa
204
- except ImportError:
205
- log.error(
206
- "PySide, PySide2, or PySide6 are required to build the documentation."
207
- )
208
- return 1
+ log.error(
+ "PySide2, or PySide6 are required to build the documentation."
+ )
+ return 1
209
# If the specified the core path, we'll use it.
210
if options.core:
211
core_path = util.expand_path(options.core)
0 commit comments