python-imaging/Pillow — pull request #487 by homm (2014-01-15 12:58:07+00:00)
Title: fix UnboundLocalError: local variable 't' referenced before assignment

Variable `t` defined inside `if not self.map` block. That is why `not self.map` check required __before__ `t == 0` check.