relpro decision task fails with UnboundLocalError

RESOLVED FIXED

Status

defect
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jcristau, Assigned: sfraser)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

See https://tools.taskcluster.net/groups/SU_pvi9zTTeD8n7AJcH32A/tasks/Iq5uxzWhThKPaa_OA7HFlg/runs/0/logs/public%2Flogs%2Flive.log

next_version is assigned if release_promotion_flavor in VERSION_BUMP_FLAVORS and used unconditionally.
Assignee: nobody → sfraser
Attachment #8927886 - Attachment is obsolete: true
Attachment #8927886 - Flags: review?(aki)
Attachment #8927889 - Flags: review?(aki)
Comment on attachment 8927889 [details]
additional safety on the dict

We don't need the if block changed anymore if we're changing the .get() line :)
Attachment #8927889 - Flags: review?(aki) → review+
Pushed by sfraser@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/79f4abfff781
ensure next_version always present, prevent UnboundLocalError r=aki a=release
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.