diff mbox series

[3/4] scripts/render_block_graph.py: add a missing import

Message ID 20190207193605.25676-4-crosa@redhat.com
State New
Headers show
Series Trivial fixes for configure and Python scripts | expand

Commit Message

Cleber Rosa Feb. 7, 2019, 7:36 p.m. UTC
The handle to QMP may be one of two classes, one implemented locally,
and the other one, which seems to be from "qmp.qmp", but of which an
import is missing.

CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 scripts/render_block_graph.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/scripts/render_block_graph.py b/scripts/render_block_graph.py
index ed7e581b4f..7686e30761 100755
--- a/scripts/render_block_graph.py
+++ b/scripts/render_block_graph.py
@@ -24,6 +24,7 @@  import subprocess
 import json
 from graphviz import Digraph
 from qemu import MonitorResponseError
+from qmp.qmp import QEMUMonitorProtocol
 
 
 def perm(arr):