aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qapi-gen.py')
-rwxr-xr-xscripts/qapi-gen.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/qapi-gen.py b/scripts/qapi-gen.py
index 3d98ca2e0c..f93f3c7c23 100755
--- a/scripts/qapi-gen.py
+++ b/scripts/qapi-gen.py
@@ -5,16 +5,18 @@
# See the COPYING file in the top-level directory.
from __future__ import print_function
+
import argparse
import re
import sys
-from qapi.common import QAPIError, QAPISchema
-from qapi.types import gen_types
-from qapi.visit import gen_visit
+
from qapi.commands import gen_commands
+from qapi.doc import gen_doc
from qapi.events import gen_events
from qapi.introspect import gen_introspect
-from qapi.doc import gen_doc
+from qapi.schema import QAPIError, QAPISchema
+from qapi.types import gen_types
+from qapi.visit import gen_visit
def main(argv):