mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
qapi: Make pylint a bit happier
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-47-git-send-email-armbru@redhat.com>
This commit is contained in:
@ -13,7 +13,6 @@
|
||||
# See the COPYING file in the top-level directory.
|
||||
|
||||
from qapi import *
|
||||
import re
|
||||
|
||||
|
||||
def gen_command_decl(name, arg_type, boxed, ret_type):
|
||||
@ -84,7 +83,8 @@ static void qmp_marshal_output_%(c_name)s(%(c_type)s ret_in, QObject **ret_out,
|
||||
|
||||
|
||||
def gen_marshal_proto(name):
|
||||
return 'void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)' % c_name(name)
|
||||
return ('void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)'
|
||||
% c_name(name))
|
||||
|
||||
|
||||
def gen_marshal_decl(name):
|
||||
|
@ -13,7 +13,6 @@
|
||||
# See the COPYING file in the top-level directory.
|
||||
|
||||
from qapi import *
|
||||
import re
|
||||
|
||||
|
||||
def gen_visit_decl(name, scalar=False):
|
||||
|
@ -11,13 +11,13 @@
|
||||
# This work is licensed under the terms of the GNU GPL, version 2.
|
||||
# See the COPYING file in the top-level directory.
|
||||
|
||||
import re
|
||||
from ordereddict import OrderedDict
|
||||
import errno
|
||||
import getopt
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import string
|
||||
import sys
|
||||
from ordereddict import OrderedDict
|
||||
|
||||
builtin_types = {
|
||||
'str': 'QTYPE_QSTRING',
|
||||
|
Reference in New Issue
Block a user