| Index: third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py
|
| index e61cb27eccc5b9b1e44c69c7626793acaf5c31de..6841f14e73f5662ad7a66415262d43e711a645a0 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py
|
| @@ -87,6 +87,7 @@ reference_directory = os.path.join(source_path, 'bindings', 'tests', 'results')
|
| # in Source/bindings/tests/idls/{core,modules}, not in Source/{core,modules}.
|
| component_info_providers = {}
|
|
|
| +
|
| @contextmanager
|
| def TemporaryDirectory():
|
| """Wrapper for tempfile.mkdtemp() so it's usable with 'with' statement.
|
| @@ -260,8 +261,8 @@ def bindings_tests(output_directory, verbose):
|
| excess_files.append(relpath)
|
| if excess_files:
|
| print ('Excess reference files! '
|
| - '(probably cruft from renaming or deleting):\n' +
|
| - '\n'.join(excess_files))
|
| + '(probably cruft from renaming or deleting):\n' +
|
| + '\n'.join(excess_files))
|
| return False
|
| return True
|
|
|
|
|