| Index: chrome/common/extensions/docs/server2/api_schema_graph.py
|
| diff --git a/chrome/common/extensions/docs/server2/api_schema_graph.py b/chrome/common/extensions/docs/server2/api_schema_graph.py
|
| index 0c90ba1d9afa4ee238316ac9ed8f6447fd8e65c5..1ec58334bceaa482055ab8625f48b12ca89a9916 100644
|
| --- a/chrome/common/extensions/docs/server2/api_schema_graph.py
|
| +++ b/chrome/common/extensions/docs/server2/api_schema_graph.py
|
| @@ -80,7 +80,8 @@ class APINodeCursor(object):
|
| if self._lookup_path[-1] == 'callback':
|
| # This is an event callback, so lookup_path[-2] is the event
|
| # node name, thus lookup_path[-3] must be 'events'.
|
| - assert self._lookup_path[-3] == 'events'
|
| + assert self._lookup_path[-3] == 'events' , \
|
| + 'Invalid lookup path: %s' % (self._lookup_path)
|
| return self._lookup_path[:-1]
|
| # This is a function parameter.
|
| assert self._lookup_path[-2] == 'parameters'
|
|
|