python/qom: Do not use 'err' name at module scope
commit00376d1345475fb3613a0d58584f161cd870ea90
authorJohn Snow <jsnow@redhat.com>
Tue, 29 Jun 2021 21:43:09 +0000 (29 17:43 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 1 Jul 2021 01:54:04 +0000 (30 21:54 -0400)
treeb3fc539a1a835f15c0102faebf9b82741e789720
parentd940d468e29bff5eb5669c0dd8f3de0c3de17bfb
python/qom: Do not use 'err' name at module scope

Pylint updated to 2.9.0 upstream, adding new warnings for things that
re-use the 'err' variable. Luckily, this only breaks the
python-check-tox job, which is allowed to fail as a warning.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-id: 20210629214323.1329806-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/qmp/qom.py