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

ucam_webauth.raven.__all__ is illegal in python 2 #12

Open
eric-wieser opened this issue Sep 9, 2019 · 2 comments
Open

ucam_webauth.raven.__all__ is illegal in python 2 #12

eric-wieser opened this issue Sep 9, 2019 · 2 comments

Comments

@eric-wieser
Copy link
Contributor

ucam_webauth.raven.__all__ contains unicode strings, which is not legal on python 2:

$ python2
> from ucam_webauth.raven import *
TypeError: Item in ``from list'' not a string

Caused by from __future__ import unicode_literals

@lxbsz
Copy link

lxbsz commented Mar 1, 2020

BTW, how to fix it ?

@eric-wieser
Copy link
Contributor Author

Use python 3 instead, I suppose?

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

2 participants