summaryrefslogtreecommitdiff
path: root/giscanner/sectionparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/sectionparser.py')
-rw-r--r--giscanner/sectionparser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index 6a6a231c..ffe41afc 100644
--- a/giscanner/sectionparser.py
+++ b/giscanner/sectionparser.py
@@ -92,6 +92,7 @@ def parse_sections_file(lines):
return SectionsFile(sections)
+
def write_sections_file(f, sections_file):
for section in sections_file.sections:
f.write("\n<SECTION>\n")
@@ -114,6 +115,7 @@ def write_sections_file(f, sections_file):
for symbol in subsection.symbols:
f.write(symbol + "\n")
+
def generate_sections_file(transformer):
ns = transformer.namespace