Closed
Bug 1647482
Opened 5 years ago
Closed 5 years ago
client.py: Write binary string when file is opened as binary in NSS/NSPR uplift
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox80 fixed)
RESOLVED
FIXED
mozilla80
| Tracking | Status | |
|---|---|---|
| firefox80 | --- | fixed |
People
(Reporter: kjacobs, Assigned: kjacobs)
Details
Attachments
(1 file)
Error with python3:
new state of security/nss/coreconf/coreconf.dep is: no blank line
toggling blank line in: security/nss/coreconf/coreconf.dep
Traceback (most recent call last):
File "client.py", line 194, in <module>
update_nspr_or_nss(tag, depfile, 'security/nss', options.repo)
File "client.py", line 135, in update_nspr_or_nss
toggle_trailing_blank_line(depfile)
File "client.py", line 99, in toggle_trailing_blank_line
open(depname, "ab").write("\n")
TypeError: a bytes-like object is required, not 'str'
======= Couldn't update_nss =======
| Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Component: Lint and Formatting → General
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/300828aa89a3
client.py: write bytes when file is opened in binary mode. r=jcj
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•