]> arthur.barton.de Git - bup.git/blob - lib/bup/py2raise.py
Add compat.reraise to handle python 3 syntax breakage
[bup.git] / lib / bup / py2raise.py
1
2 # This file exists because the raise syntax is completely incompatible
3 # with Python 3.
4
5 def reraise(ex):
6     raise ex, None, sys.exc_info()[2]