Closed
Bug 1797698
Opened 1 year ago
Closed 1 year ago
Cleanup: gecko_taskgraph/transforms/task.py
Categories
(Taskcluster :: General, enhancement)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
Details
Attachments
(1 file)
Implementation of gecko_taskgraph/transforms/task.py could sometime be improved by using appropriate dict methods instead of explicit control flow.
Assignee | ||
Comment 1•1 year ago
|
||
Avoid long lines by using appropriate temporary variables.
Use dict.pop instead of dict.get + del.
Move loop invariant outside of loops.
Updated•1 year ago
|
Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/111b0cf62dcc Minor gecko_taskgraph/transforms/task.py cleanup r=taskgraph-reviewers,ahal
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•