Changed `not foo == None` to `foo is not None` in image sniff handler
authorJoar Wandborg <git@wandborg.com>
Thu, 8 Mar 2012 21:58:16 +0000 (22:58 +0100)
committerJoar Wandborg <git@wandborg.com>
Thu, 8 Mar 2012 21:58:16 +0000 (22:58 +0100)
commite2caf5743c29655ebc14e9601042c378c2c00325
treee66746dc0831655b3bedaebcc2bc1aaad54a9508
parent034a0e0b97271240a02944848ab59be8043c1e5e
Changed `not foo == None` to `foo is not None` in image sniff handler

  >>> class foo(object):
       def __eq__(self, other):
           return True

  >>> f = foo()
  >>> f == None
  True
  >>> f is None
  False

-- <http://stackoverflow.com/questions/26595/is-there-any-difference-between-foo-is-none-and-foo-none>
mediagoblin/media_types/image/processing.py