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

Unified Diff: lib/html/scripts/dartgenerator_test.py

Issue 11238007: Discard modules information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | lib/html/scripts/databasebuilder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/dartgenerator_test.py
diff --git a/lib/html/scripts/dartgenerator_test.py b/lib/html/scripts/dartgenerator_test.py
index f2131561d012512ec7c5c64b5b45b091877f523b..f065eb20aca521db2d6d5a148f9977484035f965 100755
--- a/lib/html/scripts/dartgenerator_test.py
+++ b/lib/html/scripts/dartgenerator_test.py
@@ -123,10 +123,8 @@ FILE CONTENT:
parser = idlparser.IDLParser(idlparser.FREMONTCUT_SYNTAX)
ast = parser.parse(content)
idl_file = idlnode.IDLFile(ast)
- for module in idl_file.modules:
- module_name = module.id
- for interface in module.interfaces:
- db.AddInterface(interface)
+ for interface in idl_file.interfaces:
+ db.AddInterface(interface)
db.Save()
self.assertTrue(self._InDatabase('Shape'))
« no previous file with comments | « no previous file | lib/html/scripts/databasebuilder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698