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
diff --git a/actions.py b/actions.py
index 83c5f12..28e3c1d 100644
--- a/actions.py
+++ b/actions.py
@@ -340,7 +340,7 @@ class CleanKernels(Action):
340 keep = versionlist[0:2]340 keep = versionlist[0:2]
341 versionlist = versionlist[2:]341 versionlist = versionlist[2:]
342 else:342 else:
343 keep = None343 keep = []
344344
345 # don't remove packages matching running kernel version345 # don't remove packages matching running kernel version
346 for v in versionlist:346 for v in versionlist:

Subscribers

People subscribed via source and target branches

to all changes: