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

Fix incorrect iterator chaining in get_permissions calls #4380

Merged
merged 1 commit into from Jul 15, 2019

Conversation

Sutto
Copy link
Contributor

@Sutto Sutto commented Jul 14, 2019

Primarily in get_permissions, this usage of itertools.chain actually creates
an array of arrays.

This makes sure we're creating a flat list.

Primarily in get_permissions, this usage of itertools.chain actually creates
an array of arrays.

This makes sure we're creating a flat list.
Copy link
Collaborator

@kapilt kapilt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks

@kapilt kapilt merged commit 64079c1 into cloud-custodian:master Jul 15, 2019
fidelito pushed a commit to fidelito/cloud-custodian that referenced this pull request May 29, 2020
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.

None yet

2 participants