| Index: mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| index 819d5fa59f08cd7cdb7fca4cf6aa41c6dadbc7c5..da728e7f7c87f4b07ae11ef6d7118d87185a36dc 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| @@ -37,20 +37,6 @@ _MAX_ORDINAL_VALUE = 0xffffffff
|
| _MAX_ARRAY_SIZE = 0xffffffff
|
|
|
|
|
| -def _ListFromConcat(*items):
|
| - """Generate list by concatenating inputs (note: only concatenates lists, not
|
| - tuples or other iterables)."""
|
| - itemsout = []
|
| - for item in items:
|
| - if item is None:
|
| - continue
|
| - if type(item) is not type([]):
|
| - itemsout.append(item)
|
| - else:
|
| - itemsout.extend(item)
|
| - return itemsout
|
| -
|
| -
|
| # Disable lint check for exceptions deriving from Exception:
|
| # pylint: disable=W0710
|
| class ParseError(Error):
|
|
|