mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 10:37:13 +02:00
Fixed "RuntimeError: deque mutated during iteration"
This commit is contained in:
@ -239,7 +239,7 @@ def ProcessUnFlags(env, flags):
|
|||||||
for scope in unflag_scopes:
|
for scope in unflag_scopes:
|
||||||
for unflags in parsed.values():
|
for unflags in parsed.values():
|
||||||
for unflag in unflags:
|
for unflag in unflags:
|
||||||
for current in env.get(scope, []):
|
for current in list(env.get(scope, [])):
|
||||||
conditions = [
|
conditions = [
|
||||||
unflag == current,
|
unflag == current,
|
||||||
not isinstance(unflag, (tuple, list))
|
not isinstance(unflag, (tuple, list))
|
||||||
|
Reference in New Issue
Block a user