Skip to content

DeprecationWarning in update-verification-metadata.py #27

Description

@raphiz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions