Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hgmo: cast bytearray to bytes (bug 1506297); r=sheehan
Mercurial 4.8 may emit bytearray instances from its WSGI application. This is apparently against PEP-3333 and mod_wsgi complains. This commit works around the bug by filtering for bytearray in WSGI application output and casting to bytes. The upstream bug should be fixed in 4.8.1. Differential Revision: https://phabricator.services.mozilla.com/D11539 --HG-- extra : moz-landing-system : lando
- Loading branch information