Skip to content

Commit 1faf36b

Browse files
committed
Remove serialize_section
1 parent 8b9d750 commit 1faf36b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

fluent/syntax/serializer.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,6 @@ def serialize_resource_comment(comment):
8080
])
8181

8282

83-
def serialize_section(section):
84-
if section.comment:
85-
return "\n\n{}\n[[ {} ]]\n\n".format(
86-
serialize_comment(section.comment),
87-
serialize_variant_name(section.name)
88-
)
89-
else:
90-
return "\n\n[[ {} ]]\n\n".format(
91-
serialize_variant_name(section.name)
92-
)
93-
94-
9583
def serialize_junk(junk):
9684
return junk.content
9785

0 commit comments

Comments
 (0)