summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/model.py
diff options
context:
space:
mode:
authorcduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 00:35:33 +0000
committercduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 00:35:33 +0000
commit3072d070519de42ddbb4216b0ef6437cc29e6ee3 (patch)
tree876477109c0ef57c611a50ade63c6d9b4faf3c02 /tools/json_schema_compiler/model.py
parent82e9e2b1752a0d486a064e928b6c508bb8549322 (diff)
downloadchromium_src-3072d070519de42ddbb4216b0ef6437cc29e6ee3.zip
chromium_src-3072d070519de42ddbb4216b0ef6437cc29e6ee3.tar.gz
chromium_src-3072d070519de42ddbb4216b0ef6437cc29e6ee3.tar.bz2
Extension Docs Server: event template
Blocked on Issue 10701012 Waiting for JSON Schema Compiler to support events serialization. BUG=133777 TEST=null Review URL: https://chromiumcodereview.appspot.com/10701014 Patch from Christopher Hebert <hebert.christopherj@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/model.py')
-rw-r--r--tools/json_schema_compiler/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
index a35d15e..33c0bc5 100644
--- a/tools/json_schema_compiler/model.py
+++ b/tools/json_schema_compiler/model.py
@@ -162,7 +162,7 @@ class Property(object):
self._unix_name = UnixName(self.name)
self._unix_name_used = False
self.optional = json.get('optional', False)
- self.functions = []
+ self.functions = {}
self.has_value = False
self.description = json.get('description')
self.parent = parent