[PATCH 3/5] models: Remove UserProfile.sync_person

Daniel Axtens dja at axtens.net
Thu Oct 13 10:29:07 AEDT 2016


Stephen Finucane <stephen at that.guru> writes:

> This doesn't seem to do anything, and hasn't for a very long time
> (pre-0.9.0, at least).
>
Reviewed-by: Daniel Axtens <dja at axtens.net>
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> ---
>  patchwork/models.py | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/patchwork/models.py b/patchwork/models.py
> index 3c554af..608b70c 100644
> --- a/patchwork/models.py
> +++ b/patchwork/models.py
> @@ -143,9 +143,6 @@ class UserProfile(models.Model):
>          return Project.objects.filter(id__in=Submission.objects.filter(
>              submitter__in=submitters).values('project_id').query)
>  
> -    def sync_person(self):
> -        pass
> -
>      def n_todo_patches(self):
>          return self.todo_patches().count()
>  
> -- 
> 2.7.4
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20161013/35f6cca3/attachment.sig>


More information about the Patchwork mailing list