zulip/zerver/lib/bugdown
Anders Kaseorg 0797626911 bugdown: Avoid deprecated ElementTree.getchildren method.
Fixes warnings like these with python -Wd:

/home/circleci/zulip/zerver/lib/bugdown/__init__.py:327: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  for child in currElementPair.value.getchildren():
/home/circleci/zulip/zerver/lib/bugdown/__init__.py:328: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  if child.getchildren():
/home/circleci/zulip/zerver/lib/bugdown/__init__.py:282: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  for child in currElement.getchildren():
/home/circleci/zulip/zerver/lib/bugdown/__init__.py:283: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  if child.getchildren():

https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildren

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-04 14:17:08 -07:00
..
__init__.py bugdown: Avoid deprecated ElementTree.getchildren method. 2020-06-04 14:17:08 -07:00
api_arguments_table_generator.py openapi: Add test for validating examples. 2020-05-12 23:03:06 -07:00
api_return_values_table_generator.py openapi: Forbid opaque objects from OpenAPI documentation. 2020-06-02 16:45:06 -07:00
fenced_code.py bugdown: Replace deprecated markdown members with md. 2020-06-03 17:23:20 -07:00
help_emoticon_translations_table.py templates: Fix more low-hanging HTML validation problems. 2019-04-23 13:00:59 -07:00
help_relative_links.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
help_settings_links.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
include.py python: Whitespace fixes from autopep8. 2020-04-21 17:58:09 -07:00
nested_code_blocks.py bugdown: Avoid deprecated ElementTree.getchildren method. 2020-06-04 14:17:08 -07:00
tabbed_sections.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
testing_mocks.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
tlds-alpha-by-domain.txt