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: v16.1.0~2367^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F34962%2Fhead;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 --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index 68745b6125f9..f9e241a378b3 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]: