diff options
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/gluster_base_class.py')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py index 858741abd..a8b737f04 100644 --- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py +++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py @@ -161,7 +161,7 @@ class GlusterBaseClass(TestCase): list: List of IP's corresponding to the hostnames of nodes. """ nodes_ips = [] - if isinstance(nodes, str): + if not isinstance(nodes, list): nodes = [nodes] for node in nodes: try: |