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

prevent TypeError: 'NoneType' object is not iterable #4

Closed
wants to merge 1 commit into from
Closed

prevent TypeError: 'NoneType' object is not iterable #4

wants to merge 1 commit into from

Conversation

gka
Copy link

@gka gka commented Jul 24, 2016

No description provided.

@sim0nx
Copy link
Member

sim0nx commented Jan 4, 2017

Thanks for the pull request! I totally must have missed the notification for this one, sorry for that!

I fully agree with your proposal, this is a bug.

Though according to the docs:
https://docs.python.org/2/library/email.message.html#email.message.Message.get_all

it's possible to specify a fail-object to return in such a case, which I would prefer as it's lighter code.

@sim0nx
Copy link
Member

sim0nx commented Jan 4, 2017

Closing as fixed with e151ac3

@sim0nx sim0nx closed this Jan 4, 2017
@gka
Copy link
Author

gka commented Jan 5, 2017 via email

sim0nx pushed a commit that referenced this pull request Jan 13, 2017
sim0nx pushed a commit that referenced this pull request Jan 13, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants