Merge lp:~statik/graphite/cleanup-assertions into lp:~graphite-dev/graphite/main
Proposed by
Elliot Murphy
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | chrismd | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~statik/graphite/cleanup-assertions | ||||
Merge into: | lp:~graphite-dev/graphite/main | ||||
Diff against target: |
85 lines (+37/-10) 1 file modified
whisper/whisper.py (+37/-10) |
||||
To merge this branch: | bzr merge lp:~statik/graphite/cleanup-assertions | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
chrismd | Approve | ||
Review via email: mp+18780@code.launchpad.net |
To post a comment you must log in.
Hi! Here is my initial attempt at converting from asserts to exceptions.
I left one assert that really seemed to be about catching a should-never-happen logic error, the rest I converted to a series of exceptions. Let me know what you think, I'm happy to make any changes.