From cb0bfc8fab4372b0caf5102823883b0b913d4fcb Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Fri, 8 May 2020 17:10:24 +0530 Subject: [PATCH] vstart_runner.py: use tuple instead of set Using python3 leads to an error that says "TypeError: unhashable type: 'Raw'". Fixes: https://tracker.ceph.com/issues/45446 Signed-off-by: Rishabh Dave --- qa/tasks/vstart_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index 68745b6125f..f9e241a378b 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -350,8 +350,8 @@ class LocalRemote(object): shell = any([a for a in args if isinstance(a, Raw)]) # Filter out helper tools that don't exist in a vstart environment - args = [a for a in args if a not in { - 'adjust-ulimits', 'ceph-coverage'}] + args = [a for a in args if a not in ('adjust-ulimits', + 'ceph-coverage')] # Adjust binary path prefix if given a bare program name if "/" not in args[0]: -- 2.39.5