def __populate_sections(self):
if not self._ptr:<EOL><INDENT>raise BfdException("<STR_LIT>")<EOL><DEDENT>for section in _bfd.get_sections_list(self._ptr):<EOL><INDENT>try:<EOL><INDENT>bfd_section = BfdSection(self._ptr, section)<EOL>self._sections[bfd_section.name] = bfd_section<EOL><DEDENT>except BfdSectionException as err:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Get a list of the section present in the bfd to populate our
        internal list.