]> arthur.barton.de Git - bup.git/blob - lib/bup/py2raise.py
get: adjust for python 3 and test there
[bup.git] / lib / bup / py2raise.py
1
2 import sys
3
4 # This file exists because the raise syntax is completely incompatible
5 # with Python 3.
6
7 def reraise(ex):
8     raise ex, None, sys.exc_info()[2]