Merge lp:~ltrager/maas/lp1490709 into lp:~maas-committers/maas/trunk
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4229 |
Proposed branch: | lp:~ltrager/maas/lp1490709 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
25 lines (+2/-2) 2 files modified
src/maasserver/utils/osystems.py (+1/-1) src/maasserver/utils/tests/test_osystems.py (+1/-1) |
To merge this branch: | bzr merge lp:~ltrager/maas/lp1490709 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Review via email: mp+269807@code.launchpad.net |
Commit message
Use replace instead of rstrip to get rid of 'hwe-' when comparing hwe kernels
Description of the change
When comparing an hwe_kernel and release I mistakenly used lstrip instead of replace to remove 'hwe-'. lstrip accepts a string and removes any character, unordered, out of the string. So 'hwe-w'
To post a comment you must log in.
lgtm!