diff options
author | Kotresh HR <khiremat@redhat.com> | 2020-01-10 16:48:14 +0530 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2020-01-10 16:56:15 +0530 |
commit | 45894c39a4d05ed1f6a6f1bdbeafb5fe74ef29c3 (patch) | |
tree | fba794327dac678b862eb35d99be1951aaa5a7ce /libglusterfs | |
parent | 497d9f7d51443f4f463ca00f4fdddc42c6464e0f (diff) |
glusterfind: Fix py2/py3 issues
1. In dictionary values(), returns list in py2 and not in py3.
So explicitly convert it into list.
2. xattr module returns values in bytes. So explicitly convert
them to str to work both with py2 and py3
fixes: bz#1789439
Change-Id: I27a639cda4f7a4ece9744a97c3d16e247906bd94
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions