2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

test/exhaustive/unix.py: rename a var

Codespell thinks that froms is misspelled forms. Indeed it looks ugly.

Rename to from_set.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2022-03-30 18:32:18 -07:00
committed by Andrei Vagin
parent 2a60b4974c
commit fab46c3100

View File

@@ -356,11 +356,11 @@ class sock:
i_dsc += sock.name_of(psk)
dsc += '-I%s' % i_dsc
if self.inqueue:
froms = set()
from_set = set()
for m in self.inqueue:
froms.add(m[0])
from_set.add(m[0])
q_dsc = ''
for f in froms:
for f in from_set:
fsk = st.get_socket(f, True)
q_dsc += sock.name_of(fsk)
dsc += '-M%s' % q_dsc