diff options
Diffstat (limited to 'deps/v8/tools/testrunner/utils/dump_build_config_gyp.py')
-rw-r--r-- | deps/v8/tools/testrunner/utils/dump_build_config_gyp.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/tools/testrunner/utils/dump_build_config_gyp.py b/deps/v8/tools/testrunner/utils/dump_build_config_gyp.py index 7f72627131..963b0e2abe 100644 --- a/deps/v8/tools/testrunner/utils/dump_build_config_gyp.py +++ b/deps/v8/tools/testrunner/utils/dump_build_config_gyp.py @@ -11,6 +11,9 @@ Raw gyp values are supported - they will be tranformed into valid json. """ # TODO(machenbach): Remove this when gyp is deprecated. +# for py2/py3 compatibility +from __future__ import print_function + import json import os import sys @@ -47,7 +50,7 @@ def as_json(kv): try: return k, json.loads(v2) except ValueError as e: - print(k, v, v2) + print((k, v, v2)) raise e with open(sys.argv[1], 'w') as f: |