From c10aae8f6e41f69d8b2f806b4e93e84f0c337869 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 22 Dec 2020 12:31:30 +0000 Subject: [PATCH] criu-ns: Merge comparisons with 'in' Signed-off-by: Radostin Stoyanov --- scripts/criu-ns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/criu-ns b/scripts/criu-ns index 68ced5ec8..3ee6564e9 100755 --- a/scripts/criu-ns +++ b/scripts/criu-ns @@ -221,7 +221,7 @@ action = sys.argv[1] if action == 'restore': res = wrap_restore() -elif action == 'dump' or action == 'pre-dump': +elif action in ['dump', 'pre-dump']: res = wrap_dump() else: print('Unsupported action {} for nswrap'.format(action))