Fix errors Perforce post error when running under Python 3
Review Request #11061 — Created June 27, 2020 and submitted — Latest diff uploaded
Python 3
string
must be encoded tobytes
before being fed top4
.
Manually verified on Windows, Linux, and macOS that this resolves the error we were hitting when using Python 3.
Manually verified that this also still works fine for the same scenario when using Python 2.