Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[RFR] 5.10 Fix find_request to loop over static list of dict keys #10309

Merged
merged 1 commit into from
Aug 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cfme/services/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def find_request(self, cells, partial_check=False):
contains = '' if not partial_check else '__contains'
column_list = self.table.attributized_headers
cells = copy(cells)
for key in cells.keys():
for key in list(cells):
for column_name, column_text in column_list.items():
if key == column_text:
cells[f'{column_name}{contains}'] = cells.pop(key)
Expand Down