[gobject-introspection/wip/docs: 4/16] sectionparser: Construct Subsections, not Sections
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/docs: 4/16] sectionparser: Construct Subsections, not Sections
- Date: Thu, 4 Apr 2013 19:44:47 +0000 (UTC)
commit a98eaa313baf3cf4737086512386184432b258fb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Mar 27 15:02:40 2013 -0400
sectionparser: Construct Subsections, not Sections
Whoops!
giscanner/sectionparser.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index 330471b..042a753 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]