Skip to content

Commit

Permalink
models: Remove TODO from 'refresh_tag_counts'
Browse files Browse the repository at this point in the history
There's actually no harm keeping this around as it makes the code.
Remove the TODO, replacing it with a note on why the function exists.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
  • Loading branch information
stephenfin committed Oct 22, 2016
1 parent d497c2b commit 1be8980
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patchwork/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ class Submission(EmailMixin, models.Model):
# patchwork metadata

def refresh_tag_counts(self):
pass # TODO(sfinucan) Once this is only called for patches, remove
# This is subclassed on 'Patch' to do something useful
pass

def is_editable(self, user):
return False
Expand Down

0 comments on commit 1be8980

Please sign in to comment.