mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
ci/update_traces_checksum: fix decoding of log lines
We don't need to evaluate escape sequences, we should instead read them
verbatim.
Fixes issues like:
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\.'
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\ '
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\;'
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\_'
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37215>
This commit is contained in:
parent
eb79f6573c
commit
62428ae59b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def gather_results(
|
|||
cur_job = project.jobs.get(job.id)
|
||||
# get variables
|
||||
print(f"👁 {job.name}...")
|
||||
log: list[str] = cur_job.trace().decode("unicode_escape", "ignore").splitlines()
|
||||
log: list[str] = cur_job.trace().decode().splitlines()
|
||||
filename: str = ''
|
||||
dev_name: str = ''
|
||||
for logline in log:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue