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

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

Issue 282183003: Mojo: Fix mojom parser unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_tests/parse/parser_unittest.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 5067de57dfab8f713540a832f8d104a44e2a783f..be75fc725ab94c9999249e9395438cabe37c0da0 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
@@ -79,7 +79,7 @@ class Parser(object):
# Generator expects a module. If one wasn't specified insert one with an
# empty name.
if p[1][0] != 'MODULE':
- p[0] = [('MODULE', '', [], p[1])]
+ p[0] = [('MODULE', '', None, p[1])]
else:
p[0] = [p[1]]
« no previous file with comments | « no previous file | mojo/public/tools/bindings/pylib/mojom_tests/parse/parser_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698