AuthError Exception on line 100 broken. #8

Closed
opened 2009-09-21 12:00:59 -07:00 by sumeets · 3 comments
sumeets commented 2009-09-21 12:00:59 -07:00 (Migrated from github.com)

Code :

from twython import twython

try:
twython.setup(username=username, password=password)
except twython.TwythonError, error:
raise forms.ValidationError(error)

Exception Value: init() takes exactly 2 arguments (3 given)
Exception Location: /data/projects/standalone/twython/twython.py in init, line 100

Code : from twython import twython try: twython.setup(username=username, password=password) except twython.TwythonError, error: raise forms.ValidationError(error) Exception Value: **init**() takes exactly 2 arguments (3 given) Exception Location: /data/projects/standalone/twython/twython.py in **init**, line 100
sumeets commented 2009-09-21 12:04:45 -07:00 (Migrated from github.com)

eh ... it didn't take the indents while posting. trying again


from twython import twython

try:
--twython.setup(username=username, password=password)
except twython.TwythonError, error:

--raise forms.Validation(error)

try with a s/--//g

eh ... it didn't take the indents while posting. trying again --- from twython import twython try: --twython.setup(username=username, password=password) except twython.TwythonError, error: ## --raise forms.Validation(error) try with a s/--//g
sumeets commented 2009-09-21 12:09:45 -07:00 (Migrated from github.com)

nevermind ... this thing is seriously b0rked .. c/o http://pastebin.com/f7184fd45 to see what i mean.

nevermind ... this thing is seriously b0rked .. c/o http://pastebin.com/f7184fd45 to see what i mean.
ryanmcgrath commented 2009-09-21 20:32:56 -07:00 (Migrated from github.com)

Hey there,

I just pushed what (I believe) is a fix for this issue. Feel free to try it out and let me know if there's still a problem! ;)

  • Ryan
Hey there, I just pushed what (I believe) is a fix for this issue. Feel free to try it out and let me know if there's still a problem! ;) - Ryan
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#8
No description provided.