Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ElementTree future warning #130

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

ashemedai
Copy link
Contributor

ElementTree has a FutureWarning about not using the implicit truthiness test for an Element. So instead use the advertised test against None to silence the warning.

@Silarn
Copy link
Member

Silarn commented Dec 19, 2023

I'm going to merge this as I'm using the 2.5.x branch for release builds. We can pull in changes to release builds there as needed, which I suppose was the way these branches were initially intended to be used.

@Holt59 Holt59 merged commit 8b37414 into ModOrganizer2:master Dec 29, 2023
1 check passed
@ashemedai ashemedai deleted the fix_python_future_warning branch December 29, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants