On 2013-08-06 19:42, Chris Down wrote: > All that needs to happen is to move the pop to the top of the MAX_LENGTH > check: > > while len(new_message) + len(add) <= MAX_LENGTH:
...or, better, remove the if...break and just do: while users and len(new_message) + len(add) <= MAX_LENGTH:
pgpWu6B0bGjbi.pgp
Description: PGP signature
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor