From 97ac6f64b34105402dac664544ffb5288878bdc0 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 31 Jan 2021 17:45:49 +0100 Subject: [PATCH] reply migth be altered during loop --- Shared/lib/python3.7/site-packages/stem/control.py | 2 +- Shared/update.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Shared/lib/python3.7/site-packages/stem/control.py b/Shared/lib/python3.7/site-packages/stem/control.py index 2e89378..780e07c 100644 --- a/Shared/lib/python3.7/site-packages/stem/control.py +++ b/Shared/lib/python3.7/site-packages/stem/control.py @@ -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) diff --git a/Shared/update.sh b/Shared/update.sh index a1e02ab..ff08bcf 100755 --- a/Shared/update.sh +++ b/Shared/update.sh @@ -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*