tests: Use python3 compatible dict operation

This patch is made by using 2to3 command.

$ find . -name *.py | xargs 2to3 -f dict -w -n

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma 2019-01-24 16:45:43 +09:00 committed by Jouni Malinen
parent 89896c0008
commit 35d8c2545e
9 changed files with 38 additions and 38 deletions

View file

@ -413,7 +413,7 @@ def add_ap(apdev, params, wait_enabled=True, no_enable=False, timeout=30,
for field in fields:
if field in params:
hapd.set(field, params[field])
for f,v in params.items():
for f,v in list(params.items()):
if f in fields:
continue
if isinstance(v, list):