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

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

Issue 443293003: Mojo: Add PRESUBMIT.py to mojo/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: mojo/public/tools/bindings/pylib/mojom/parse/translate.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/translate.py b/mojo/public/tools/bindings/pylib/mojom/parse/translate.py
index c4798bf0679a2dceea28d371ad37fce709601f60..660cf2e87f2c0c5fe10d92c526dd00c12a517370 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/translate.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/translate.py
@@ -5,9 +5,10 @@
"""Translates parse tree to Mojom IR."""
-import ast
import re
+from . import ast
+
def _MapTreeForType(func, tree, type_to_map):
assert isinstance(type_to_map, type)

Powered by Google App Engine
This is Rietveld 408576698