From: Rishabh Dave Date: Fri, 8 May 2020 11:40:24 +0000 (+0530) Subject: vstart_runner.py: use tuple instead of set X-Git-Tag: v14.2.10~17^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d26addf3571e1e9b47e2e426a0338dd63cfa53a8;p=ceph.git 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 --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index f0e43156ebe..27a2c33b122 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]: