reply migth be altered during loop

This commit is contained in:
j 2021-01-31 17:45:49 +01:00
parent 00165d302e
commit 97ac6f64b3
2 changed files with 1 additions and 2 deletions

View File

@ -2270,7 +2270,7 @@ class Controller(BaseController):
# entries since the user didn't request those by their key, so we can't
# be sure what they wanted.
for key in reply:
for key in list(reply):
if not key.lower() in MAPPED_CONFIG_KEYS.values():
user_expected_key = _case_insensitive_lookup(params, key, key)

View File

@ -16,4 +16,3 @@ mv p37/lib/python3.7/site-packages lib/python3.7/site-packages
patch -p2 -R < large_pdf.patch
rm -r p37 old
rm -rf lib/python3.4/site-packages/netifaces*