summaryrefslogtreecommitdiff
path: root/giscanner/sectionparser.py
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2013-06-19 17:57:17 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2013-06-19 17:57:17 +0200
commitc2a5adad7f807e7be2fe41bc16ee90ff429d6f34 (patch)
tree5e5727f76a5111e574658dcb1422ab712be27acf /giscanner/sectionparser.py
parent3ec52d6198a8afb6360bf9985cee03cdcbfdfb63 (diff)
downloadgobject-introspection-c2a5adad7f807e7be2fe41bc16ee90ff429d6f34.tar.gz
giscanner: Fix PEP-8 issue
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