Skip to content

Variable is used out of scope #126

@alevikpes

Description

@alevikpes

Hi! I was getting an error on this line

target = os.path.join(venv, "include", dn)
, such that dn is called before assignment. It is true, since it is used out of the for loop scope.

I moved the target definition inside the for loop, but was not sure, if it was correct. Can anyone confirm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions