From 5189557f8c3332e936842b3a21e44b5df21f7698 Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Mon, 9 Dec 2019 22:49:55 +0530 Subject: [py2to3] Add py3 support in 'tests/functional/samba' Change-Id: Iae0f6e729c26e466d82c4133439bdd7021485e7f Signed-off-by: Valerii Ponomarov --- glustolibs-gluster/glustolibs/gluster/samba_libs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glustolibs-gluster/glustolibs') diff --git a/glustolibs-gluster/glustolibs/gluster/samba_libs.py b/glustolibs-gluster/glustolibs/gluster/samba_libs.py index c25eeb891..5c0f20a52 100644 --- a/glustolibs-gluster/glustolibs/gluster/samba_libs.py +++ b/glustolibs-gluster/glustolibs/gluster/samba_libs.py @@ -295,7 +295,7 @@ def share_volume_over_smb(mnode, volname, smb_users_info): g.log.error("Failed to enable mounting volumes using SMB") return False g.log.info("Successfully enabled mounting volumes using SMV for the " - "smbusers: %s", str(smb_users_info.keys())) + "smbusers: %s", str(list(smb_users_info.keys()))) # Verify if volume is shared ret = is_volume_exported(mnode, volname, "smb") -- cgit