summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2020-04-22 15:09:16 +0100
committerSunny Kumar <sunkumar@redhat.com>2020-04-28 14:35:43 +0000
commit8536a9e66bd2b684f961b16ebe213cb63b060c20 (patch)
tree3ce8a7c971ca677f1f4f90091e8eeb2bfc3afab5 /xlators/cluster/dht/src
parent9873baee34afdf0c20f5fc98a7dbf2a9f07447e2 (diff)
snapshot: fix python3 issue in gcron
`$gcron.py test_vol Job` Traceback: File "/usr/sbin/gcron.py", line 189, in <module> main() File "/usr/sbin/gcron.py", line 121, in main initLogger(script_name) File "/usr/sbin/gcron.py", line 44, in initLogger logfile = os.path.join(out.strip(), script_name[:-3]+".log") File "/usr/lib64/python3.6/posixpath.py", line 94, in join genericpath._check_arg_types('join', a, *p) File "/usr/lib64/python3.6/genericpath.py", line 151, in _check_arg_types raise TypeError("Can't mix strings and bytes in path components") from None TypeError: Can't mix strings and bytes in path components Solution: Added the 'universal_newlines' flag to Popen. Change-Id: I4c7a0e5bce605e4c134f6786c9dd8162b89fc77f Fixes: #1193 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src')
0 files changed, 0 insertions, 0 deletions