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

raw_input is not defined (python3) #105

Closed
josuebrunel opened this issue Jun 2, 2015 · 0 comments
Closed

raw_input is not defined (python3) #105

josuebrunel opened this issue Jun 2, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@josuebrunel
Copy link
Owner

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/josue/Dropbox/Workspace/virtualenvs/oauth/lib/python3.4/site-packages/myql/contrib/auth/yoauth.py", line 69, in __init__
    verifier = raw_input("Enter verifier : ")
NameError: name 'raw_input' is not defined

Fix

try:
    input = raw_input
except NameError:
    pass

then change every single _raw_input_ in _input_

@josuebrunel josuebrunel added the bug label Jun 2, 2015
@josuebrunel josuebrunel self-assigned this Jun 2, 2015
@josuebrunel josuebrunel added this to the 1.2.3 milestone Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant