'Parse module and make a SixModule object for each'

def parse_module(self):

    self.six_module = []
    for file in self.files_to_parse:
        soup = BeautifulSoup(open(file), 'html.parser')
        div = soup.find('div', {'class': 'section'})
        if (not div):
            continue
        for tag in div.find_all('dl'):
            'Get    the    module    name    '
            if (tag.dt.select('code')[1].get_text(strip=True) != 'six.'):
                module_name = tag.dt.select('code')[1].get_text(strip=True)
            else:
                module_name = tag.dt.select('code')[2].get_text(strip=True)
            'Get    the    module    desc    '
            description = tag.dd.p.getText()
            'Get    code    for    module    if    present    '
            code = (tag.dd.div.getText() if tag.dd.div else None)
            module = SixModule(module_name, description, file.replace('download/', ''))
            module.usage = code
            self.six_module.append(module)
