qapi-commands: Fix gen_err_check(e) for e and e != 'local_err'
commit8102307f51e68280ac965a140a87073d5c31e9a5
authorMarkus Armbruster <armbru@redhat.com>
Sat, 27 Jun 2015 14:48:14 +0000 (27 16:48 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Sep 2015 13:47:15 +0000 (4 15:47 +0200)
treee2a46cf770206ee50a6d8ce5e771d872cb16184a
parent9b090d42aea9a0abbf39a1d75561a186057b5fe6
qapi-commands: Fix gen_err_check(e) for e and e != 'local_err'

gen_err_check() hard-codes 'local_err' instead of substituting the
argument.  Currently harmless, since all callers pass either None or
'local_err'.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
scripts/qapi-commands.py