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

DeprecationWarning in update-verification-metadata.py #27

Open
raphiz opened this issue Nov 14, 2024 · 0 comments
Open

DeprecationWarning in update-verification-metadata.py #27

raphiz opened this issue Nov 14, 2024 · 0 comments

Comments

@raphiz
Copy link
Owner

raphiz commented Nov 14, 2024

There is a DeprecationWarning from Python in the output when running the update-verification-metadata utility script:

/nix/store/j4jkfi2a9as7hh6z7x4r5jfl8r9xz8i0-update-verification-metadata.py:15: DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if (components):

Should be an easy fix

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

No branches or pull requests

1 participant