django/django — pull request #940 by sayadn (2013-03-22 17:24:09+00:00)
Title: Remove unnecessary conditions from user's permission checking

Small code cleaning. If obj is None, it's None, there's no need to check it.