Index: tools/json_schema_compiler/cc_generator.py |
diff --git a/tools/json_schema_compiler/cc_generator.py b/tools/json_schema_compiler/cc_generator.py |
index 1d243f03b5ad30fc582e4fb5083a2367eefe1cb7..5fd24ebacdea4a9f5562b5b408431348c7ffd0f5 100644 |
--- a/tools/json_schema_compiler/cc_generator.py |
+++ b/tools/json_schema_compiler/cc_generator.py |
@@ -773,10 +773,10 @@ class _Generator(object): |
failure_value, |
is_ptr=is_ptr)) |
else: |
- (c.Sblock('if (!%s) {' % self._util_cc_helper.PopulateArrayFromList( |
- 'list', |
- dst_var, |
- is_ptr))) |
+ c.Sblock('if (!%s) {' % self._util_cc_helper.PopulateArrayFromList( |
+ 'list', |
+ dst_var, |
+ is_ptr)) |
c.Concat(self._GenerateError( |
'"unable to populate array \'%%(parent_key)s\'"')) |
if is_ptr and self._generate_error_messages: |