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

Unified Diff: third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py

Issue 2435973003: [Bindings][Refactoring] Make binding scripts use utilities to handle pickle files (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py
diff --git a/third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py b/third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py
index 0cc923ca24e6e41dcdfc0e35d47b085b0a4a6c0e..2ea53ece16deff8ab71ce9ece094d9f975d1207f 100755
--- a/third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py
+++ b/third_party/WebKit/Source/bindings/scripts/generate_init_partial_interfaces.py
@@ -5,11 +5,13 @@
"""Generate initPartialInterfacesInModules(), which registers partial interfaces in modules to core interfaces."""
-import cPickle as pickle
+# pylint: disable=relative-import
+
from optparse import OptionParser
import os
import posixpath
import sys
+
from utilities import get_file_contents
from utilities import idl_filename_to_interface_name
from utilities import read_idl_files_list_from_file

Powered by Google App Engine
This is Rietveld 408576698