Decode second file paths for R and C statuses too
Change-Id: I27dd3ef66039ae15229d38509a18dfe2ea025c81
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
while elements[0] != b'':
status = elements.pop(0).decode()[0]
- filepath = elements.pop(0)
+ filepath = elements.pop(0).decode()
# Expect to have two filenames for renames and copies
if status in ['R', 'C']:
result[status].append(filepath)
- filepath = elements.pop(0)
- result[status].append(filepath.decode())
+ filepath = elements.pop(0).decode()
+ result[status].append(filepath)
return result
#}