qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu.qmp PATCH 01/13] pylint hotfix


From: John Snow
Subject: [qemu.qmp PATCH 01/13] pylint hotfix
Date: Wed, 30 Mar 2022 14:24:12 -0400

Pylint released a new version and it broke tests. I've folded this patch
into patches pending for qemu.git, but for my own sanity, I'm not going
to rebase this series yet because it's... annoying to rebase a
git-filter-branch fork. I'll get it next time, sorry.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 qemu/qmp/legacy.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/qemu/qmp/legacy.py b/qemu/qmp/legacy.py
index a8629b4..03b5574 100644
--- a/qemu/qmp/legacy.py
+++ b/qemu/qmp/legacy.py
@@ -106,8 +106,6 @@ class QEMUMonitorProtocol:
         return self
 
     def __exit__(self,
-                 # pylint: disable=duplicate-code
-                 # see https://github.com/PyCQA/pylint/issues/3619
                  exc_type: Optional[Type[BaseException]],
                  exc_val: Optional[BaseException],
                  exc_tb: Optional[TracebackType]) -> None:
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]