summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Snow2021-06-07 22:06:18 +0200
committerJohn Snow2021-06-18 22:10:06 +0200
commit50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50 (patch)
treeef89b63c12eb3976c0580fc9bec5cbd0aabb6b46 /scripts
parentscripts/qmp-shell: use triple-double-quote docstring style (diff)
downloadqemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.tar.gz
qemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.tar.xz
qemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.zip
scripts/qmp-shell: ignore visit_Name name
Not something I control, sorry, pylint. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210607200649.1840382-12-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qmp/qmp-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell
index c46f4f516b..ea6a87e0b3 100755
--- a/scripts/qmp/qmp-shell
+++ b/scripts/qmp/qmp-shell
@@ -101,7 +101,7 @@ class FuzzyJSON(ast.NodeTransformer):
"""
@classmethod
- def visit_Name(cls, node):
+ def visit_Name(cls, node): # pylint: disable=invalid-name
if node.id == 'true':
node.id = 'True'
if node.id == 'false':