summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py')
-rwxr-xr-xdeps/v8/third_party/inspector_protocol/check_protocol_compatibility.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py b/deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py
index e23bd70213..d2df244fa9 100755
--- a/deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py
+++ b/deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py
@@ -45,6 +45,7 @@
#
# Adding --show_changes to the command line prints out a list of valid public API changes.
+from __future__ import print_function
import copy
import os.path
import optparse
@@ -475,9 +476,9 @@ def main():
if arg_options.show_changes:
changes = compare_schemas(domains, baseline_domains, True)
if len(changes) > 0:
- print " Public changes since %s:" % version
+ print(" Public changes since %s:" % version)
for change in changes:
- print " %s" % change
+ print(" %s" % change)
if arg_options.stamp:
with open(arg_options.stamp, 'a') as _: