diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-10 21:57:09 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-17 06:07:20 +0000 |
commit | fff20da7fa964453a74206d25e8009c1ae202f56 (patch) | |
tree | e6ec94cb62952a362c9ab427ee2309259518cc9e /glustolibs-gluster | |
parent | 5189557f8c3332e936842b3a21e44b5df21f7698 (diff) |
[py2to3] Add py3 support in 'tests/functional/snapshot'
Change-Id: Ie408d7972452123b63eb5cc17c61bc319a99e304
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'glustolibs-gluster')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/snap_ops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/snap_ops.py b/glustolibs-gluster/glustolibs/gluster/snap_ops.py index 2ca5688b5..01a7df390 100644 --- a/glustolibs-gluster/glustolibs/gluster/snap_ops.py +++ b/glustolibs-gluster/glustolibs/gluster/snap_ops.py @@ -750,7 +750,7 @@ def set_snap_config(mnode, option, volname=None): volname = "" cmd = ("gluster snapshot config %s %s %s --mode=script" - % (volname, option.keys()[0], option.values()[0])) + % (volname, list(option.keys())[0], list(option.values())[0])) return g.run(mnode, cmd) |