mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
criu-ns: fix lint error
This patch fixes the following lint error: scripts/criu-ns:219:16: E713 [*] Test for membership should be `not in` The change in this patch is auto-generated with `ruff --fix`. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
e0b74f558b
commit
835afb1b88
@ -216,7 +216,7 @@ def wrap_restore():
|
|||||||
|
|
||||||
def get_varg(args):
|
def get_varg(args):
|
||||||
for i in range(1, len(sys.argv)):
|
for i in range(1, len(sys.argv)):
|
||||||
if not sys.argv[i] in args:
|
if sys.argv[i] not in args:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if i + 1 >= len(sys.argv):
|
if i + 1 >= len(sys.argv):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user