[gobject-introspection] sectionparser: Rename



commit 6c6b787aeb7d2ac08f37c93e6d1c16318d8ec29c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Mar 27 15:03:11 2013 -0400

    sectionparser: Rename
    
    It's called a sections file, not a section file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699856

 giscanner/sectionparser.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index f66d46a..85ef3a2 100644
--- a/giscanner/sectionparser.py
+++ b/giscanner/sectionparser.py
@@ -19,7 +19,7 @@
 
 import re
 
-class SectionFile(object):
+class SectionsFile(object):
     def __init__(self, sections):
         self.sections = sections
 
@@ -74,4 +74,4 @@ def parse_sections_file(lines):
 
         current_subsection.symbols.append(line)
 
-    return SectionFile(sections)
+    return SectionsFile(sections)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]