~ubuntu-branches/ubuntu/wily/prewikka/wily

« back to all changes in this revision

Viewing changes to prewikka/MyConfigParser.py

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-07-02 16:49:06 UTC
  • mfrom: (6.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080702164906-q2bkfn6i40hd95tt
Tags: 0.9.14-2
* Update watch file
* Bump Standards version to 3.8.0 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
    """
111
111
    
112
112
    EMPTY_LINE_REGEXP = re.compile("^\s*(\#.*)?$")
113
 
    SECTION_REGEXP = re.compile("\[(?P<name>.+)]")
 
113
    SECTION_REGEXP = re.compile("^\s*\[(?P<name>.+)]")
114
114
    OPTION_REGEXP = re.compile("^\s*(?P<name>[\s]*[^:]+)(\:\s*(?P<value>.+))?$")
115
115
 
116
116
    def __init__(self, filename):