Nit cleanup in json_schema_compiler/model.py
BUG=None
Review URL: https://codereview.chromium.org/59703002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233475 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
index 741a1b5..3f459d0 100644
--- a/tools/json_schema_compiler/model.py
+++ b/tools/json_schema_compiler/model.py
@@ -112,8 +112,10 @@
self.functions = _GetFunctions(self, json, self)
self.events = _GetEvents(self, json, self)
self.properties = _GetProperties(self, json, self, toplevel_origin)
- self.compiler_options = (json.get('compiler_options', {})
- if include_compiler_options else {})
+ if include_compiler_options:
+ self.compiler_options = json.get('compiler_options', {})
+ else:
+ self.compiler_options = {}
self.documentation_options = json.get('documentation_options', {})