Pylons/pyramid_mailer — pull request #59 by crooksey (2014-09-04 08:58:54+00:00)
Title: Fixing a test for None on both variables in body and html

If body variable didn't exist and html did, pyramid_mailer was assuming both were empty, note that I only discovered this when moving from message.send() to message.send_to_queue(), but nevertheless this fix does the same thing as before, but ordering actually is a true test on both variables being empty.