Fix downloading patch reject bundles on Python 3.

Review Request #11847 — Created Oct. 12, 2021 and discarded

chipx86
Review Board
release-4.0.x
reviewboard

Patch reject bundle zip files were being written to a StringIO, which
uses native strings. This failed on Python 3.

Bundles are now written to a BytesIO. Unit tests were updated to
ensure this works correctly on Python 2 and 3, and won't regress in the
future.

Unit tests pass on Python 2 and 3.

Manually verified the fix on Python 3.

Summary
Fix downloading patch reject bundles on Python 3.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Discarded

Loading...