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

Fixing error with changelog referenced before assigment #700

Merged
merged 2 commits into from
Aug 29, 2019
Merged

Fixing error with changelog referenced before assigment #700

merged 2 commits into from
Aug 29, 2019

Conversation

bareya
Copy link
Contributor

@bareya bareya commented Aug 28, 2019

In some cases when builder.get_changelog() throw, I experience following error from rez-release:

UnboundedLocalError: local variable 'changelog' referenced before assignment

I believe this happens because when exception is thrown, then changelog variable does not exist and if statement fails.

I believe this fix would let if statement proceed with no effect.

@nerdvegas nerdvegas merged commit 461ad06 into AcademySoftwareFoundation:master Aug 29, 2019
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

Successfully merging this pull request may close these issues.

2 participants