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

Updates a length check that was always true before #826

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

munahaf
Copy link

@munahaf munahaf commented Feb 27, 2023

In file: init.py, the comparison of Collection length creates a logical short circuit.

I suggested that the Collection length comparison should be done without creating a logical short circuit. The suggested change needs to be reviewed by a domain expert.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 27, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: munahaf / name: Munawar (b01da0c)

@sophiewigmore
Copy link
Member

Hey @munahaf, could you provide a bit more information about the use case you're running into which is causing this to be an issue?

@brayanhenao brayanhenao changed the base branch from master to develop February 27, 2023 16:26
@munahaf
Copy link
Author

munahaf commented Mar 8, 2023

This did not come from a specific use case. We ran a code analysis tool that reported this. Hence submitted the PR to fix this case.

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

Successfully merging this pull request may close these issues.

3 participants