mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
tc-testing: fix list handling
[ Upstream commit b4fd096cbb871340be837491fa1795864a48b2d9 ]
python lists don't have an 'add' method, but 'append'.
Fixes: 14e5175e9e ("tc-testing: introduce scapyPlugin for basic traffic")
Signed-off-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
117e1495a6
commit
9692257004
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class SubPlugin(TdcPlugin):
|
|||
for k in scapy_keys:
|
||||
if k not in scapyinfo:
|
||||
keyfail = True
|
||||
missing_keys.add(k)
|
||||
missing_keys.append(k)
|
||||
if keyfail:
|
||||
print('{}: Scapy block present in the test, but is missing info:'
|
||||
.format(self.sub_class))
|
||||
|
|
|
|||
Loading…
Reference in a new issue