lp:~cjwatson/lazr.restful/py3-fix-reraise
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/lazr.restful/py3-fix-reraise
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Ioana Lasc (community): Approve
-
Diff: 16 lines (+4/-2)1 file modifiedsrc/lazr/restful/_resource.py (+4/-2)
Branch information
Recent revisions
- 265. By Colin Watson
-
Fix exception re-raising on Python 3.
ReadWriteResour
ce.__call_ _ takes some care to re-raise exceptions in such a
way as to preserve the original traceback, but to do this correctly on
Python 3 we need to use "raise ... from". This fixes a test failure in
ErrorsTestCase.test_non_ web_service_ exception_ includes_ original_ traceback. - 259. By Colin Watson
-
[r=ilasc] Make pprint_
entry/pprint_ collection format strings in Python 3 style.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lazr.restful