summaryrefslogtreecommitdiff
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qapi-visit.py')
-rw-r--r--scripts/qapi-visit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py
index 597cca4b6..e86cb4890 100644
--- a/scripts/qapi-visit.py
+++ b/scripts/qapi-visit.py
@@ -312,7 +312,7 @@ void visit_type_%(name)s(Visitor *m, %(name)s ** obj, const char *name, Error **
}
''')
- pop_indent();
+ pop_indent()
ret += mcgen('''
}
''')
@@ -358,7 +358,7 @@ try:
["source", "header", "builtins", "prefix=",
"output-dir="])
except getopt.GetoptError, err:
- print str(err)
+ print( str(err))
sys.exit(1)
output_dir = ""