diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-03-27 15:49:07 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-05-07 13:48:48 -0400 |
commit | a1a513a7a6adc7685a88be910efc92dd81fa21c0 (patch) | |
tree | 29b97033c0f3a5e0c04da4ce0b543b0116107385 /giscanner/sectionparser.py | |
parent | 40623576a2558fda814c0dcf135d397b8674f420 (diff) | |
download | gobject-introspection-a1a513a7a6adc7685a88be910efc92dd81fa21c0.tar.gz |
sectionparser: Fix subsection regex
https://bugzilla.gnome.org/show_bug.cgi?id=699856
Diffstat (limited to 'giscanner/sectionparser.py')
-rw-r--r-- | giscanner/sectionparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py index 6230b5cc..273cdebe 100644 --- a/giscanner/sectionparser.py +++ b/giscanner/sectionparser.py @@ -66,7 +66,7 @@ def parse_sections_file(lines): current_section.title = match.groupdict['contents'] continue - match = re.match(r"<SUBSECTION (?P<name>).*>", line) + match = re.match(r"<SUBSECTION (?P<name>.*)>", line) if match: current_subsection = Subsection(match.groupdict['name']) current_section.subsections.append(current_subsection) |