summary refs log tree commit diff stats
path: root/python/qemu/qmp.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-05-28 18:21:29 -0400
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2020-05-31 18:25:30 +0200
commit8dfac2edb2146d87b25543c70e25723f3d4dbd60 (patch)
treeb5906c7db9efff8a51790e2fb2fe1d2f9b11e8d0 /python/qemu/qmp.py
parent9b8ccd6d5b81f10436764bf7e334e087f3918d12 (diff)
downloadfocaccia-qemu-8dfac2edb2146d87b25543c70e25723f3d4dbd60.tar.gz
focaccia-qemu-8dfac2edb2146d87b25543c70e25723f3d4dbd60.zip
python/qemu: delint; add flake8 config
Mostly, ignore the "no bare except" rule, because flake8 is not
contextual and cannot determine if we re-raise. Pylint can, though, so
always prefer pylint for that.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200528222129.23826-5-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/qmp.py')
-rw-r--r--python/qemu/qmp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qemu/qmp.py b/python/qemu/qmp.py
index d6c9b2f4b1..6ae7693965 100644
--- a/python/qemu/qmp.py
+++ b/python/qemu/qmp.py
@@ -168,8 +168,8 @@ class QEMUMonitorProtocol:
 
         @param timeout: timeout in seconds (nonnegative float number, or
                         None). The value passed will set the behavior of the
-                        underneath QMP socket as described in [1]. Default value
-                        is set to 15.0.
+                        underneath QMP socket as described in [1].
+                        Default value is set to 15.0.
         @return QMP greeting dict
         @raise OSError on socket connection errors
         @raise QMPConnectError if the greeting is not received