Skip to content

Replaced deprecated 'getchildren' method with 'list(elem)' for Python >= 3.2 - #132

Merged
arun3688 merged 1 commit into
OpenModelica:masterfrom
kzscisoft:master
Jan 7, 2021
Merged

Replaced deprecated 'getchildren' method with 'list(elem)' for Python >= 3.2#132
arun3688 merged 1 commit into
OpenModelica:masterfrom
kzscisoft:master

Conversation

@kzscisoft

Copy link
Copy Markdown
Contributor

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

The getchildren method within xml.etree was deprecated since Python3.2, as of Python3.9 the method has now been removed This patch applies the suggestion given above.

@CLAassistant

CLAassistant commented Jan 7, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@arun3688

arun3688 commented Jan 7, 2021

Copy link
Copy Markdown
Collaborator

@kzscisoft can you sign the CLA, so that it can be merged

@kzscisoft

kzscisoft commented Jan 7, 2021

Copy link
Copy Markdown
Contributor Author

@kzscisoft can you sign the CLA, so that it can be merged

@arun3688 Should be done now 👍

@arun3688
arun3688 merged commit 59ef1e3 into OpenModelica:master Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants