diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-15 13:57:35 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-16 07:13:04 +0100 |
commit | c261394978d000000a095d7b4986226d0a4a551c (patch) | |
tree | 897bc316675398b4aa9d88509b3f6f5ffc6e3730 /scripts/qapi.py | |
parent | 6bbfb12de6541794c10baf007ad327262f94f10a (diff) | |
download | qemu-c261394978d000000a095d7b4986226d0a4a551c.zip qemu-c261394978d000000a095d7b4986226d0a4a551c.tar.gz qemu-c261394978d000000a095d7b4986226d0a4a551c.tar.bz2 |
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>
Diffstat (limited to 'scripts/qapi.py')
-rw-r--r-- | scripts/qapi.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/qapi.py b/scripts/qapi.py index b798ae4..d19300d 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -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', @@ -1587,7 +1587,7 @@ class QAPISchema(object): tag_member = None if isinstance(base, dict): base = (self._make_implicit_object_type( - name, info, doc, 'base', self._make_members(base, info))) + name, info, doc, 'base', self._make_members(base, info))) if tag_name: variants = [self._make_variant(key, value) for (key, value) in data.iteritems()] |