mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix PyLint warning
This commit is contained in:
@ -159,7 +159,7 @@ def ProcessUnFlags(env, flags):
|
|||||||
|
|
||||||
for key in parsed_flags.keys():
|
for key in parsed_flags.keys():
|
||||||
cur_flags = set(env.get(key, []))
|
cur_flags = set(env.get(key, []))
|
||||||
for item in (cur_flags & all_flags):
|
for item in cur_flags & all_flags:
|
||||||
while item in env[key]:
|
while item in env[key]:
|
||||||
env[key].remove(item)
|
env[key].remove(item)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user