Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Python 3 incompatible syntax on views.py #86

Closed
marco-lavagnino opened this issue Jul 19, 2016 · 4 comments
Closed

Python 3 incompatible syntax on views.py #86

marco-lavagnino opened this issue Jul 19, 2016 · 4 comments

Comments

@marco-lavagnino
Copy link

marco-lavagnino commented Jul 19, 2016

There are a couple of except Exception, e: in views.py and that syntax is incompatible with python 3. A simple change to except Exception as e: should solve the issue.

@wojcikstefan
Copy link
Member

Thanks Marco, except Exception as e sounds good. Care to send a PR?

@marco-lavagnino
Copy link
Author

ok, sending it soon :)

2016-07-19 19:33 GMT-03:00 Stefan Wójcik notifications@github.com:

Thanks Marco, except Exception as e sounds good. Care to send a PR?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#86 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AICX2vb0xBC48m_1XPf08pqPj7hpoXfoks5qXVCegaJpZM4JQPYu
.

@marco-lavagnino
Copy link
Author

Seems like there are many bits of the library incompatible with python 3, and changing the syntax of the exception catching wouldn't be enough.

@thomasst
Copy link
Member

Thanks for reporting these! I'm closing this in favor of #99

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

No branches or pull requests

3 participants