| Index: tools/json_schema_compiler/dart_generator.py
|
| diff --git a/tools/json_schema_compiler/dart_generator.py b/tools/json_schema_compiler/dart_generator.py
|
| index 3a4c2e33c10a9044962a0e32f88af65d4584e5b3..ddd8a2c563cac2cee754a567ea31a3c287741304 100644
|
| --- a/tools/json_schema_compiler/dart_generator.py
|
| +++ b/tools/json_schema_compiler/dart_generator.py
|
| @@ -6,8 +6,8 @@ Generator language component for compiler.py that adds Dart language support.
|
| """
|
|
|
| from code import Code
|
| -from model import *
|
| -from schema_util import *
|
| +from model import Function, PropertyType
|
| +from schema_util import StripNamespace
|
|
|
| import os
|
| from datetime import datetime
|
| @@ -278,9 +278,9 @@ class _Generator(object):
|
| c.Concat(self._GenerateDocumentation(f))
|
|
|
| if not self._NeedsProxiedCallback(f):
|
| - c.Append("%s => %s;" % (self._GenerateFunctionSignature(f),
|
| - self._GenerateProxyCall(f)))
|
| - return c
|
| + c.Append("%s => %s;" % (self._GenerateFunctionSignature(f),
|
| + self._GenerateProxyCall(f)))
|
| + return c
|
|
|
| (c.Sblock("%s {" % self._GenerateFunctionSignature(f))
|
| .Concat(self._GenerateProxiedFunction(f.callback, f.callback.name))
|
|
|