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 <rstoyanov@fedoraproject.org>
  • Loading branch information
rst0git committed Feb 9, 2024
1 parent e6146a3 commit a4a4423
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 a4a4423

Please sign in to comment.