Merge lp:~vorlon/britney/britney1-nuninst-cache into lp:~ubuntu-release/britney/britney1-ubuntu

Proposed by Steve Langasek
Status: Merged
Merged at revision: 350
Proposed branch: lp:~vorlon/britney/britney1-nuninst-cache
Merge into: lp:~ubuntu-release/britney/britney1-ubuntu
Diff against target: 16 lines (+5/-1)
1 file modified
britney (+5/-1)
To merge this branch: bzr merge lp:~vorlon/britney/britney1-nuninst-cache
Reviewer Review Type Date Requested Status
Brian Murray Approve
Review via email: mp+409871@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'britney'
2--- britney 2021-10-07 07:43:35 +0000
3+++ britney 2021-10-07 21:43:16 +0000
4@@ -577,7 +577,11 @@
5 fi
6
7 create_uninst_report () {
8- $CODE_B2/britney.py -c $1 --distribution=$DISTRIBUTION --series=$SERIES --print-uninst >$HTML/$2.new
9+ if qoption run; then
10+ # use cached results
11+ cache_option=--nuninst-cache
12+ fi
13+ $CODE_B2/britney.py -c $1 --distribution=$DISTRIBUTION --series=$SERIES --print-uninst $cache_option >$HTML/$2.new
14 echo -e "\n# Generated: `date -uR`" >>$HTML/$2.new
15 mv $HTML/$2.new $HTML/$2
16 }

Subscribers

People subscribed via source and target branches