zulip/zerver
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
..
data_import slack import: Fix DefaultStream import of deactivated #random. 2020-05-12 17:18:57 -07:00
lib bugdown: Avoid deprecated ElementTree.getchildren method. 2020-06-04 14:17:08 -07:00
management actions: Merge do_change_is_admin and do_change_is_guest. 2020-05-25 16:17:10 -07:00
migrations migrations: Replace deprecated django.db.backends.postgresql_psycopg2. 2020-06-03 17:23:20 -07:00
openapi openapi: Forbid opaque objects from OpenAPI documentation. 2020-06-02 16:45:06 -07:00
templatetags openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
tests tests: Avoid deprecated TestCase method aliases. 2020-06-04 14:15:52 -07:00
tornado python: Convert TypedDict declarations to Python 3.6 style. 2020-05-26 11:43:40 -07:00
views compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
webhooks tests: Avoid deprecated TestCase method aliases. 2020-06-04 14:15:52 -07:00
worker user_activity: Put client id instead of name in event dicts. 2020-05-29 15:19:55 -07:00
__init__.py
apps.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
context_processors.py portico: Fix apps page webapp link being useless. 2020-05-26 21:50:31 -07:00
decorator.py user_activity: Put client id instead of name in event dicts. 2020-05-29 15:19:55 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py auth: Make sure that we enforce max_length during password reset. 2020-05-28 15:01:33 -07:00
logging_handlers.py error logging: Inline add_deployment_metadata. 2020-05-06 16:29:53 -07:00
middleware.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
models.py models: Remove database columns from old Zoom integration. 2020-06-03 16:39:12 -07:00
signals.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00