diff options
author | bors-servo <servo-ops@mozilla.com> | 2021-02-19 17:35:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 17:35:10 -0500 |
commit | 1b58747ce1e3b4bd164225f48154230f3668f8cb (patch) | |
tree | 898a992773a04398845b0f382774e8033f6a9343 /python/servo | |
parent | a2e3559f10cb023174009241a1a09b11922134e8 (diff) | |
parent | 462237db4c2290f4a34045c9efc73347d933b956 (diff) | |
download | servo-1b58747ce1e3b4bd164225f48154230f3668f8cb.tar.gz servo-1b58747ce1e3b4bd164225f48154230f3668f8cb.zip |
Auto merge of #28169 - servo:jdm-patch-49, r=jdm
Fix some residual python2isms
Fixes nightly and doc builds.
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/package_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index f44786251cc..2948d6c2409 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -644,7 +644,7 @@ class PackageCommands(CommandBase): break sha256_digest.update(data) package_hash = sha256_digest.hexdigest() - package_hash_fileobj = io.BytesIO(package_hash) + package_hash_fileobj = io.BytesIO(package_hash).encode('utf-8') latest_hash_upload_key = '{}/servo-latest.{}.sha256'.format(nightly_dir, extension) s3.upload_file(package, BUCKET, package_upload_key) |