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

Commit

Permalink
Fix find_request to loop over static list of dict keys, to avoid Runt…
Browse files Browse the repository at this point in the history
…imeError
  • Loading branch information
tpapaioa committed Aug 24, 2020
1 parent f206a9c commit d80c57d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d80c57d

Please sign in to comment.