Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rdfpipe: open stdout in buffer mode in Python3 format
Due to sys.stdout being string mode in Python 3 and all of the serializing happening in bytes mode, we need to open sys.stdout.buffer instead to avoid the exception "TypeError: must be str, not bytes". Closes RDFLib#375. Signed-off-by: Dan Scott <[email protected]>
- Loading branch information