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: v15.2.4~42^2~101 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=778859de52a45397ef2dda190b6c9eb2413706fa;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) --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index c11ab353841..73198195332 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -339,8 +339,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]: