diff options
| author | Petr Viktorin <pviktori@redhat.com> | 2016-04-26 14:26:53 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-04-28 16:22:07 +0200 |
| commit | 05cb4ba4e97d8cbffaf1c16451c488db4a90a878 (patch) | |
| tree | b2f50615fc7e4cd0bd3222bb8162ee234b3bfbf8 /install | |
| parent | 28b0bfaefea02fe188b57b602396f5ef62863726 (diff) | |
sysrestore: Iterate over a list of dict keys
In Python 3, dict.keys() returns a key view. It is not safe to delete
dict keys when iterating over this view.
Convert the keys to list first.
Part of the work for https://fedorahosted.org/freeipa/ticket/4985
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install')
0 files changed, 0 insertions, 0 deletions
