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

Unified Diff: tools/json_schema_compiler/cpp_type_generator.py

Issue 23549025: Clean up JSON Schema Compiler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 3 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: tools/json_schema_compiler/cpp_type_generator.py
diff --git a/tools/json_schema_compiler/cpp_type_generator.py b/tools/json_schema_compiler/cpp_type_generator.py
index efb712ee7289e55a43c8efc52472ecae596e8789..63f98b1c8d945b3dde3daf1d8ff34a6f0b320ebc 100644
--- a/tools/json_schema_compiler/cpp_type_generator.py
+++ b/tools/json_schema_compiler/cpp_type_generator.py
@@ -3,10 +3,9 @@
# found in the LICENSE file.
from code import Code
-from model import Namespace, PropertyType, Type
+from model import PropertyType
import cpp_util
from json_parse import OrderedDict
-from operator import attrgetter
import schema_util
class _TypeDependency(object):

Powered by Google App Engine
This is Rietveld 408576698