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

(Backport 53996) Fix kwargs iteration for chroot.call #53997

Closed
wants to merge 4 commits into from

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Jul 24, 2019

What does this PR do?

Fix a bug during the call of the kwargs parameters for chroot.call(). In the original code the iteration was done only on the keys, but the code expect the key and the value too. Simply adding .items() fix the issue.

Tests written?

Yes

(backport #53996)

@aplanas aplanas requested a review from a team as a code owner August 23, 2019 08:18
@ghost ghost requested a review from Ch3LL August 23, 2019 08:18
tests/unit/modules/test_chroot.py Outdated Show resolved Hide resolved
@Ch3LL
Copy link
Contributor

Ch3LL commented Sep 10, 2019

Fix a bug during the call of the kwargs parameters for chroot.call()

Can you clarify what the bug is?

@aplanas
Copy link
Contributor Author

aplanas commented Sep 12, 2019

Fix a bug during the call of the kwargs parameters for chroot.call()

Can you clarify what the bug is?

Ouch. Sure! I updated the commit message

Fix a bug during the call of the kwargs parameters for chroot.call()

Can you clarify what the bug is?

Yes sorry. I extended a bit the explanation.

@waynew
Copy link
Contributor

waynew commented Sep 18, 2019

Just to leave ourselves a comment on this - changing the parameter name isn't a problem since this is an unreleased feature, but we do need to make sure that this goes in with the chroot feature.

@aplanas
Copy link
Contributor Author

aplanas commented Oct 14, 2019

Rebased on master as part of #54959

@aplanas aplanas closed this Oct 14, 2019
@aplanas aplanas deleted the backport_53996 branch October 14, 2019 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZRELEASED - Neon retired label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants