Skip to content

Commit

Permalink
criu-ns: fix lint error
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rst0git authored and avagin committed Feb 13, 2024
1 parent 8a22b15 commit da7e6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/criu-ns
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit da7e6d3

Please sign in to comment.