Merge ~barryprice/+git/cleanup:master into ~hloeung/+git/cleanup:master

Proposed by Barry Price
Status: Merged
Approved by: Haw Loeung
Approved revision: b3711a4177fa74cf5e31c3b7d53136e29152b4a3
Merged at revision: b3711a4177fa74cf5e31c3b7d53136e29152b4a3
Proposed branch: ~barryprice/+git/cleanup:master
Merge into: ~hloeung/+git/cleanup:master
Diff against target: 13 lines (+1/-1)
1 file modified
actions.py (+1/-1)
Reviewer Review Type Date Requested Status
Haw Loeung +1 Approve
Review via email: mp+392749@code.launchpad.net

Commit message

We may append to 'keep' later, so it can't be NoneType

To post a comment you must log in.
Revision history for this message
Haw Loeung (hloeung) :
review: Approve (+1)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/actions.py b/actions.py
2index 83c5f12..28e3c1d 100644
3--- a/actions.py
4+++ b/actions.py
5@@ -340,7 +340,7 @@ class CleanKernels(Action):
6 keep = versionlist[0:2]
7 versionlist = versionlist[2:]
8 else:
9- keep = None
10+ keep = []
11
12 # don't remove packages matching running kernel version
13 for v in versionlist:

Subscribers

People subscribed via source and target branches

to all changes: