Commit 7b99930
Shashwati Bhattacharyaa
### Rationale for this change
The download_rc_binaries.py script fails with a `TypeError` when a download fails and it tries to check if the error is related to OpenSSL.
### What changes are included in this PR?
`subprocess.Popen().communicate()` returns bytes objects, but the code was comparing `stderr` (bytes) with a string `"OpenSSL"`. Changed to use bytes literal `b"OpenSSL"` for proper comparison.
### Are these changes tested?
The fix is straightforward - using bytes literal instead of string literal for comparison with bytes object.
### Are there any user-facing changes?
No.
Closes #48853
* GitHub Issue: #48853
Authored-by: Shashwati <shashwatibhattacaharya21.2@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 97c656b commit 7b99930
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments