python-imaging/Pillow — pull request #315 by d-schmidt (2013-08-05 16:09:05+00:00)
Title: fix Issue #312 + gif optimize improvement

I've reorganize gif optimize, please check it. I've run the tests and it seems to work properly.
Move a lot of code in and out of if-statements but logic should have remained the same.

The only real change it, that optimize still tries to optimize even if a small palette is found or added via parameter.