From a299fb518340bbb625792906ecae67b814e93eb6 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Tue, 13 Feb 2018 15:46:50 +0530 Subject: This makes sure BVT passes when runs_on is empty Needs to be done for cases where we don't use runs_on Change-Id: I0d5b424621706842fb1a8cccb17c653c6dcff72d --- glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glustolibs-gluster/glustolibs/gluster') 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, -- cgit