<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __populate_sections(self):
 """Get a list of the section present in the bfd to populate our internal list. """

        if not self._ptr:
            raise BfdException("BFD not initialized")

        for section in _bfd.get_sections_list(self._ptr):
            try:
                bfd_section = BfdSection(self._ptr, section)
                self._sections[bfd_section.name] = bfd_section
            except BfdSectionException, err:
                #print "Exception during section pasing : %s" % err
                pass