mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
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:
parent
9486206f5a
commit
cb0bfc8fab
@ -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]:
|
||||
|
Loading…
Reference in New Issue
Block a user