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

vulkan/utils_gen: fix deprecation warning #212

Merged
merged 1 commit into from
Oct 22, 2023
Merged

vulkan/utils_gen: fix deprecation warning #212

merged 1 commit into from
Oct 22, 2023

Conversation

m154k1
Copy link
Contributor

@m154k1 m154k1 commented Oct 22, 2023

Fixes a deprecation warning when building with Python 3.12:

DeprecationWarning: Testing an element's truth value will raise an exception in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if stype and 'values' in stype.attrib:

Testing an element's truth value will raise an exception in future
versions.
@haasn haasn merged commit a59333c into haasn:master Oct 22, 2023
@m154k1 m154k1 deleted the vulkan-utils-gen-fix-warn branch October 23, 2023 13:48
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.

2 participants