Merge lp:~elachuni/wsgi-oops/python2.7 into lp:wsgi-oops
Proposed by
Anthony Lenton
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 57 |
Merged at revision: | 57 |
Proposed branch: | lp:~elachuni/wsgi-oops/python2.7 |
Merge into: | lp:wsgi-oops |
Diff against target: |
12 lines (+1/-1) 1 file modified
canonical/oops/oops.py (+1/-1) |
To merge this branch: | bzr merge lp:~elachuni/wsgi-oops/python2.7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Martin Albisetti (community) | Approve | ||
Review via email: mp+58527@code.launchpad.net |
Description of the change
This branch makes wsgi-oops compatible with Python2.7.
Python 2.7's logging module doesn't allow you to pass in None as a logging level when initializing a Handler. You can pass in logging.NOTSET though, that serves the same purpose and also works in 2.6.
To post a comment you must log in.
Just ran into this myself for U1, and this fixes it :)