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

exceptions must be classes or instances, not NoneType #2

Open
saurabhprakash opened this issue Oct 10, 2011 · 0 comments
Open

exceptions must be classes or instances, not NoneType #2

saurabhprakash opened this issue Oct 10, 2011 · 0 comments

Comments

@saurabhprakash
Copy link

This error is due to the raise statement in models.py(in start method of Meeting Class) file

result = parse(urlopen(url).read())
if result:
return result
else:
raise

Why is so that result is being getting None(The url parameter to me was normal as expected)?

2nd doubt for me was that: In the create_meeting method(of views/core.py) the statement

url = meeting.start()
meeting.save()

I didn't saw url being used anywhere in that function, So why that has been assigned the return value?

Thanks.. Help would be appreciated..

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