Skip to content

ngclient: temp_file could be undefined #1999

@jku

Description

@jku

From sonatype lift results:

Local variable temp_file is undefined, or not always defined.
tuf/ngclient/updater.py 290:15

This seems like it could happen if NamedTemporaryFile() fails to create a file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueBite-sized items for first time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions