From d26addf3571e1e9b47e2e426a0338dd63cfa53a8 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 (cherry picked from commit cb0bfc8fab4372b0caf5102823883b0b913d4fcb) Conflicts: qa/tasks/vstart_runner.py: trivial resolution --- 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 f0e43156ebe87..27a2c33b12273 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -251,8 +251,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', 'timeout'}] + args = [a for a in args if a not in ( + 'adjust-ulimits', 'ceph-coverage', 'timeout')] # Adjust binary path prefix if given a bare program name if "/" not in args[0]: -- 2.39.5