severb/graypy — pull request #17 by alexbrasetvik (2013-01-12 15:52:34+00:00)
Title: Wrong number of pieces when message length is a multiple of size

Hi.

The number of pieces is off by one when the message length is exactly a multiple of size.

For example, assuming `size = 3` and `message="foobar"`, then `(len(message) / size) + 1 == 3`, when we want 2.