diff --git a/stone/backends/python_types.py b/stone/backends/python_types.py index 2836bf1e..c6dec9ee 100644 --- a/stone/backends/python_types.py +++ b/stone/backends/python_types.py @@ -645,7 +645,7 @@ def _generate_custom_annotation_processors(self, ns, data_type, extra_annotation if is_struct_type(dt) and dt.has_enumerated_subtypes(): for subtype in dt.get_enumerated_subtypes(): for annotation_type, recursive_processor in \ - self._generate_custom_annotation_processors(ns, subtype.data_type): + self._generate_custom_annotation_processors(ns, subtype.data_type): if annotation_type not in annotation_types_seen: yield (annotation_type, recursive_processor) annotation_types_seen.add(annotation_type) @@ -656,9 +656,9 @@ def _generate_custom_annotation_processors(self, ns, data_type, extra_annotation generate_func_call( 'bb.make_struct_annotation_processor', args=[ - class_name_for_annotation_type( - annotation.annotation_type, ns), - 'processor'] + class_name_for_annotation_type( + annotation.annotation_type, ns), + 'processor'] )) annotation_types_seen.add(annotation.annotation_type) elif is_list_type(dt):