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

Unified Diff: mojo/public/tools/bindings/pylib/mojom/parse/parser.py

Issue 395203003: Mojo: Mojom: Remove some dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | mojo/public/tools/bindings/pylib/mojom/parse/translate.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | mojo/public/tools/bindings/pylib/mojom/parse/translate.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698