The prettypatch script does not handle the patch attached to Bug 17031 (Attachment 18720 [details]). I've never seen that patch format before, although it is recognizable as a patch.
This appears to be fixed now.