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 <ridave@redhat.com>
This commit is contained in:
Rishabh Dave 2020-05-08 17:10:24 +05:30
parent 9486206f5a
commit cb0bfc8fab

View File

@ -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]: