| Summary: | RuntimeError: dictionary changed size during iteration | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miroslav Suchý <msuchy> |
| Component: | python-fedora | Assignee: | Fedora Infrastructure SIG <infra-sig> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | cheese, infra-sig, jonstanley, lmacken, rbean, relrod, ricky |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-29 01:33:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Should be fixed upstream here: https://github.com/fedora-infra/python-fedora/pull/177/files |
Description of problem: When I call client.group_members("packager") it results in traceback (see below) Version-Release number of selected component (if applicable): python3-fedora-0.7.1-1.fc23.noarch How reproducible: deterministc Steps to Reproduce: #!/usr/bin/python3 from fedora.client import AuthError, AccountSystem client = AccountSystem() #client.username = "msuchy" #client.password = "XXXX" packagers = client.group_members("packager") Actual results: $ ./guard-fedora-sponsors.py Traceback (most recent call last): File "./guard-fedora-sponsors.py", line 97, in <module> packagers = client.group_members("packager") File "/usr/lib/python3.4/site-packages/fedora/client/fas2.py", line 395, in group_members quote(groupname), auth=True) File "/usr/lib/python3.4/site-packages/fedora/client/baseclient.py", line 362, in send_request for key, value in auth_params.items() if not value] File "/usr/lib/python3.4/site-packages/fedora/client/baseclient.py", line 361, in <listcomp> [auth_params.__delitem__(key) RuntimeError: dictionary changed size during iteration