aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-06-07 16:06:18 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-18 16:10:06 -0400
commit50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50 (patch)
treeef89b63c12eb3976c0580fc9bec5cbd0aabb6b46
parentc6be2bf86eb93a2e6afc4a6818310303471b3212 (diff)
downloadqemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.zip
qemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.tar.gz
qemu-50f6f1c3081322a1d9e2d0bbe5c9f434d712cf50.tar.bz2
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>
-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 c46f4f5..ea6a87e 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':