Skip to content

"Call to deprecated method" findChildren and findAll #111

@aliceinwire

Description

@aliceinwire
check-kernelpage.py:75: DeprecationWarning: Call to deprecated method findChildren. (Replaced by find_all) -- Deprecated since version 3.0.0.
  tables = soup.findChildren('table')
check-kernelpage.py:77: DeprecationWarning: Call to deprecated method findChildren. (Replaced by find_all) -- Deprecated since version 3.0.0.
  tr_table = my_table.findChildren('tr')
check-kernelpage.py:83: DeprecationWarning: Call to deprecated method findChildren. (Replaced by find_all) -- Deprecated since version 3.0.0.
  tr_html = tr_html.findChildren('td')
check-kernelpage.py:87: DeprecationWarning: Call to deprecated method findAll. (Replaced by find_all) -- Deprecated since version 4.0.0.
  for node in tr_html.findAll('strong'):
check-kernelpage.py:88: DeprecationWarning: Call to deprecated method findAll. (Replaced by find_all) -- Deprecated since version 4.0.0.
  tr_html_number = ''.join(node.findAll(text=True))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions