]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart_runner.py: use tuple instead of set 34962/head
authorRishabh Dave <ridave@redhat.com>
Fri, 8 May 2020 11:40:24 +0000 (17:10 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 11 May 2020 12:31:58 +0000 (18:01 +0530)
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>
qa/tasks/vstart_runner.py

index 68745b6125f994454e9a11cad5dff736d93305ec..f9e241a378b3f0c44c234ce314af722c5dc8e615 100644 (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]: