Fix #7973: imgconverter: Check availability of imagemagick only once

To prevent checking the availability of image converters times and times
again, this stores the result to the class variable.  It is not a good
design to have a state globally.  So this should be refactored in the
future.
This commit is contained in:
Takeshi KOMIYA
2020-07-19 00:50:36 +09:00
parent 0f6522e5d1
commit 45717977ac
2 changed files with 11 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ Bugs fixed
* #8175: intersphinx: Potential of regex denial of service by broken inventory
* #8277: sphinx-build: missing and redundant spacing (and etc) for console
output on building
* #7973: imgconverter: Check availability of imagemagick many times
* #8093: The highlight warning has wrong location in some builders (LaTeX,
singlehtml and so on)
* #8239: Failed to refer a token in productionlist if it is indented