(2014 me had never written python before.)
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qmp/qmp-shell | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell
index 7233c4e00b89..73b2c099f0f0 100755
--- a/scripts/qmp/qmp-shell
+++ b/scripts/qmp/qmp-shell
@@ -98,9 +98,12 @@ class QMPShellBadPort(QMPShellError):
class FuzzyJSON(ast.NodeTransformer):
- '''This extension of ast.NodeTransformer filters literal "true/false/null"
+ """
+ This extension of ast.NodeTransformer filters literal "true/false/null"
values in an AST and replaces them by proper "True/False/None" values that
- Python can properly evaluate.'''
+ Python can properly evaluate.
+ """
+
@classmethod
def visit_Name(cls, node):
if node.id == 'true':
--
2.26.2