Merge lp://staging/~glyphobet/python-webdav-lib/default into lp://staging/python-webdav-lib
Proposed by
Glyphobet
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~glyphobet/python-webdav-lib/default |
Merge into: | lp://staging/python-webdav-lib |
Diff against target: |
12 lines (+1/-1) 1 file modified
src/webdav/WebdavResponse.py (+1/-1) |
To merge this branch: | bzr merge lp://staging/~glyphobet/python-webdav-lib/default |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
DataFinderTeam | Pending | ||
Review via email: mp+149161@code.staging.launchpad.net |
Description of the change
sys.stdout always has an encoding attribute, unless it has been overridden with another object, as nosetests does, for example. In that case, sys.stdout.encoding will raise an AttributeError. This will make it not raise that error and fall back to 'ascii'.
To post a comment you must log in.