Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 incompatibility in raise #2

Open
bgrant opened this issue Oct 14, 2013 · 0 comments
Open

Python 3 incompatibility in raise #2

bgrant opened this issue Oct 14, 2013 · 0 comments

Comments

@bgrant
Copy link

bgrant commented Oct 14, 2013

https://github.com/dagss/mpinoseutils/blob/master/mpinoseutils.py#L33

For Python 3 compatibility, I think this line should be something like:

raise exc_info[0].with_traceback(exc_info[2])

http://docs.pythonsprints.com/python3_porting/py-porting.html#raising-exceptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant