Merge lp:~jtv/maas/bug-1359517 into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2779 | ||||
Proposed branch: | lp:~jtv/maas/bug-1359517 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
74 lines (+47/-1) 3 files modified
Makefile (+1/-0) src/provisioningserver/dhcp/detect.py (+1/-1) utilities/check-maaslog-exception (+45/-0) |
||||
To merge this branch: | bzr merge lp:~jtv/maas/bug-1359517 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+231670@code.launchpad.net |
Commit message
Don't use maaslog.exception; use maaslog.error instead.
Description of the change
Apparently maaslog.exception is a complete no-no. So I added a lint check that forbids it; testing against every possible call is a losing game.
Most lint checks have the logic for finding source files right in the Makefile, but that makes things a bit verbose. Since I needed to customise the set of source files, I hid that part away in my checker script.
Jeroen
To post a comment you must log in.
Nice.