Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: use bytes_to_str() in xlog_rows()
Since Python 3.6+ in json.loads() object that should be deserialized can be of type bytes or bytearray. The input encoding should be UTF-8, UTF-16 or UTF-32 [1]. Patch follows up commit 395edeb ('python3: decouple bytes and strings') and it is a part of task with switching to Python 3. 1. https://docs.python.org/3/library/json.html Follows up: #20
- Loading branch information