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:
parent
89896c0008
commit
35d8c2545e
9 changed files with 38 additions and 38 deletions
|
@ -958,7 +958,7 @@ class WpaSupplicant:
|
|||
"mean_data_rate": 1500,
|
||||
}
|
||||
cmd = "WMM_AC_ADDTS %s tsid=%d up=%d" % (direction, tsid, up)
|
||||
for (key, value) in params.iteritems():
|
||||
for (key, value) in params.items():
|
||||
cmd += " %s=%d" % (key, value)
|
||||
if extra:
|
||||
cmd += " " + extra
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue