Merge lp:~raof/ubuntu-archive-tools/fix-sru-release into lp:ubuntu-archive-tools

Proposed by Chris Halse Rogers
Status: Merged
Merged at revision: 1447
Proposed branch: lp:~raof/ubuntu-archive-tools/fix-sru-release
Merge into: lp:ubuntu-archive-tools
Diff against target: 11 lines (+1/-0)
1 file modified
sru-release (+1/-0)
To merge this branch: bzr merge lp:~raof/ubuntu-archive-tools/fix-sru-release
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+398173@code.launchpad.net

Commit message

sru-release: Define 'message' before use.

Fixes an UnboundLocalException on Hirsute introduced by r1441

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sru-release'
2--- sru-release 2021-01-27 22:29:51 +0000
3+++ sru-release 2021-02-17 01:43:41 +0000
4@@ -255,6 +255,7 @@
5 sru_bugs = match_srubugs(options, versions['changesfile'])
6 block_tag = 'block-proposed-%s' % release
7 failed_tag = 'verification-failed-%s' % release
8+ message = None
9 for sru_bug in sru_bugs:
10 if block_tag in sru_bug.tags:
11 message = ('ERROR: not releasing ' + pkg + ' as SRU '

Subscribers

People subscribed via source and target branches