2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +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:
Radostin Stoyanov 2024-02-09 13:47:55 +00:00 committed by Andrei Vagin
parent e0b74f558b
commit 835afb1b88

View File

@ -216,7 +216,7 @@ def wrap_restore():
def get_varg(args):
for i in range(1, len(sys.argv)):
if not sys.argv[i] in args:
if sys.argv[i] not in args:
continue
if i + 1 >= len(sys.argv):