nova/doc/source
Stephen Finucane 4bdecee385 docs: Fix the monkeypatching of blockdiag
blockdiag has a longstanding bug whereby it tries to access an attribute
on an 'io.BufferedReader' that doesn't exist. We had previously fixed
this in change Ibd32d30aacae65702d0ccbdb8a02b1667ec4e8ee, which undid
the damage blockdiag was doing. However, this worked because the monkey
patching blockdiag does happens when the 'blockdiag.utils.compat' module
is loaded [1], which was happening implicitly with our import of
'blockdiag.imagedraw.textfolder' [2]. However, that module no longer
imports the 'compat' [3] module so this doesn't work. Fix the issue by
just importing the 'compat' module manually, triggering the monkey
patching...which we can then undo.

[1] https://github.com/blockdiag/blockdiag/blob/2.0.0/src/blockdiag/utils/compat.py#L19-L26
[2] https://github.com/blockdiag/blockdiag/blob/1.5.4/src/blockdiag/imagedraw/textfolder.py#L18
[3] https://github.com/blockdiag/blockdiag/tree/2.0.0/src/blockdiag/imagedraw/textfolder.py

Change-Id: Idacfff98842fde38fb39791090f2da3310b441b5
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-01-31 17:52:54 +00:00
..
_extra Remove 'nova-xvpvncproxy' 2019-12-23 14:20:28 +00:00
_static docs: Remove a whole load of unused images, most remainder 2019-10-02 17:36:21 +01:00
admin Merge "doc: define boot from volume in the glossary" 2020-01-29 03:52:50 +00:00
cli Merge "Print help if nova-manage subcommand is not specified" 2020-01-15 01:55:37 +00:00
common Deprecate CONF.workarounds.enable_numa_live_migration 2019-09-12 17:34:34 -04:00
configuration doc: Improve PDF document structure 2019-10-08 11:06:00 +01:00
contributor Merge "zuul: Remove unnecessary 'USE_PYTHON3'" 2020-01-30 17:09:07 +00:00
install Remove 'nova-xvpvncproxy' 2019-12-23 14:20:28 +00:00
reference doc: define boot from volume in the glossary 2020-01-08 12:37:05 -05:00
user doc: define boot from volume in the glossary 2020-01-08 12:37:05 -05:00
conf.py docs: Fix the monkeypatching of blockdiag 2020-01-31 17:52:54 +00:00
index.rst doc: link to user/index from main home page 2019-10-08 16:32:47 -04:00