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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

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
Owner
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