# HG changeset patch # User Sverre Rabbelier # Date 1235501937 0 # Node ID 0ccf92d073e82f8433b8bb79c55ea1a8a7d77ce4 # Parent d2d9087d712f48287dca64a1543e0697b3f80d60 Add missing comment to checkIsMyEntity Patch by: Sverre Rabbelier diff -r d2d9087d712f -r 0ccf92d073e8 app/soc/views/helper/access.py --- a/app/soc/views/helper/access.py Tue Feb 24 18:58:22 2009 +0000 +++ b/app/soc/views/helper/access.py Tue Feb 24 18:58:57 2009 +0000 @@ -1126,6 +1126,11 @@ def checkIsMyEntity(self, django_args, logic, field_name='user', user=False): """Checks whether the entity belongs to the user. + + Args: + logic: the logic that should be used to fetch the entity + field_name: the name of the field the entity uses to store it's owner + user: whether the entity stores the user's key name, or a reference """ self.checkIsUser(django_args)