omab/django-social-auth — pull request #212 by r4vi (2012-01-02 10:51:17+00:00)
Title: Foursquare backend fails with "KeyError('lastName')" if user doesn't have a lastName set.

Just changed the dictionary lookup to .get('lastName', '') to avoid the KeyError.