summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/gluster_base_class.py2
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 14cbc5a38..8f9d0b9b0 100644
--- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
+++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
@@ -104,7 +104,7 @@ class GlusterBaseClass(unittest.TestCase):
if not ret:
_rc = False
- if "glusterfs" in cls.mount_type:
+ if cls.mount_type is not None and "glusterfs" in cls.mount_type:
ret = inject_msg_in_logs(
cls.clients, log_msg=msg,
list_of_dirs=cls.client_gluster_logs_dirs,