def _parseSections(self, data):
section_dict = {}<EOL>lines = data.splitlines()<EOL>idx = <NUM_LIT:0><EOL>numlines = len(lines)<EOL>section = None<EOL>while idx < numlines:<EOL><INDENT>line = lines[idx]<EOL>idx += <NUM_LIT:1><EOL>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>section = mobj.group(<NUM_LIT:1>)<EOL>section_dict[section] = []<EOL><DEDENT>else:<EOL><INDENT>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>section_dict[section].append(mobj.group(<NUM_LIT:2>))<EOL><DEDENT>else:<EOL><INDENT>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>section = None<EOL>if not section_dict.has_key(section):<EOL><INDENT>section_dict[section] = []<EOL><DEDENT>section_dict[section].append(line)<EOL><DEDENT>else:<EOL><INDENT>if not section_dict.has_key('<STR_LIT>'):<EOL><INDENT>section_dict['<STR_LIT>'] = []<EOL><DEDENT>section_dict['<STR_LIT>'].append(line)   <EOL><DEDENT><DEDENT><DEDENT><DEDENT>return section_dict<EOL>
Parse data and separate sections. Returns dictionary that maps 
        section name to section data.

        @param data: Multiline data.
        @return:     Dictionary that maps section names to section data.