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

Variable is used out of scope #126

Open
alevikpes opened this issue Aug 18, 2020 · 0 comments
Open

Variable is used out of scope #126

alevikpes opened this issue Aug 18, 2020 · 0 comments

Comments

@alevikpes
Copy link

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?

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