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
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.

Unmerged revisions

41. By Glyphobet

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'.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches