summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-09 22:49:55 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-17 05:27:30 +0000
commit5189557f8c3332e936842b3a21e44b5df21f7698 (patch)
tree85aa46f6912faacc6ed7107516b32c4a912add4d /glustolibs-gluster/glustolibs/gluster
parentcab83e31489002beda2478109aaa7daadddc215c (diff)
[py2to3] Add py3 support in 'tests/functional/samba'
Change-Id: Iae0f6e729c26e466d82c4133439bdd7021485e7f Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/samba_libs.py2
1 files changed, 1 insertions, 1 deletions
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")