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

Invalid.messages() should return an empty list if there are no messages #21

Closed
wants to merge 1 commit into from

Conversation

dairiki
Copy link

@dairiki dairiki commented Sep 14, 2011

Currently, the messages method of Invalid returns [None] (a list of length one) if the msg attribute is None. This seems non-useful. This fixes things so that an empty list is returned when there are no messages.

@mcdonc mcdonc closed this in 8f16140 Feb 23, 2012
@mcdonc
Copy link
Member

mcdonc commented Feb 23, 2012

Thank you!

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.

2 participants