diff options
author | Sri Vignesh <sselvan@redhat.com> | 2020-01-07 16:25:39 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2020-01-07 12:31:25 +0000 |
commit | 3de3cde07ee9968c9ef9e5aa5fc9d3846ef6d49c (patch) | |
tree | 568ff784e43a06ce664bb313f24944dd96e1c372 /glustolibs-gluster/glustolibs/gluster/lib_utils.py | |
parent | 24f2f1ca2c9213b4d848863d0db6dcd3804f24b8 (diff) |
[py2to3] Fix file gluster_init.py
- Use 'list' object type in comparisons instead of 'str'. Because
it is differently treated in py2 and py3. Example:
# In py2 isinstance(u'foo', str) is False
# In py3 isinstance(u'foo', str) is True
Change-Id: Ic0a5c1469e9951ee9b2472714004b05e2c5fdc94
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/lib_utils.py')
0 files changed, 0 insertions, 0 deletions