This pull request is a small fix for Comment._get_userinfo of the django.contrib.comments app. The code was not re-entrant, normally this should not required but I had to fix it because of this other issue in django-debug-toolbar: jazzband/django-debug-toolbar#281
Comment._get_userinfo is thread safe now
Seems like a good idea regardless of threadsafety, now the dict won't be partially populated if an exception occurs.
indeed that's the real reason, thanks