summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-03-27 15:02:40 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-05-07 13:48:48 -0400
commit88c747c9bbc3c1216a526cc65f9860354cdab0a4 (patch)
treec5c0c8a31c23c236e887dc54b950ebcfea27d26d
parent2dfdfdf42516bc07a5c2159ae5c696038567b9a1 (diff)
downloadgobject-introspection-88c747c9bbc3c1216a526cc65f9860354cdab0a4.tar.gz
sectionparser: Construct Subsections, not Sections
Whoops! https://bugzilla.gnome.org/show_bug.cgi?id=699856
-rw-r--r--giscanner/sectionparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index 330471b2..042a753f 100644
--- a/giscanner/sectionparser.py
+++ b/giscanner/sectionparser.py
@@ -68,7 +68,7 @@ def parse_sections_file(lines):
match = re.match(line, r"<SUBSECTION (?P<name>).*>")
if match:
- current_subsection = Section(match.groupdict['name'])
+ current_subsection = Subsection(match.groupdict['name'])
current_section.subsections.append(current_subsection)
continue