Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698