qmp.py: Couple of pylint/style fixes
commit9d47f6de10e36c988e935069bf288d39bdcc1126
authorLukáš Doktor <ldoktor@redhat.com>
Fri, 18 Aug 2017 14:26:09 +0000 (18 16:26 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 15 Sep 2017 23:12:00 +0000 (15 20:12 -0300)
tree7a1dd00f68914e293797264d333f1b8e2f6f8bc5
parenta004e249f035f8a0c859d1700abb4081c86f8c1f
qmp.py: Couple of pylint/style fixes

No actual code changes, just initializing attributes earlier to avoid
AttributeError on early introspection, a few pylint/style fixes and
docstring clarifications.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170818142613.32394-7-ldoktor@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
scripts/qmp/qmp.py