• 
      

    Prevent gravatars from exploding if users don't have an email address.

    Review Request #9491 — Created Jan. 17, 2018 and submitted — Latest diff uploaded

    Information

    Djblets
    release-1.0.x
    4e7ed8c...

    Reviewers

    The recent changes to the gravatar backend were causing uncaught
    ValueErrors to percolate upwards for users with empty email addresses,
    breaking a variety of things. Not having an avatar shouldn't be a fatal
    condition, so I've changed it to return an empty dict instead.

    • Ran unit tests.
    • Tested in conjunction with some other stuff that was previously
      breaking.