]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
models: Remove TODO from 'refresh_tag_counts'
authorStephen Finucane <stephen@that.guru>
Thu, 20 Oct 2016 07:28:56 +0000 (08:28 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Oct 2016 10:22:58 +0000 (11:22 +0100)
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>
patchwork/models.py

index f6a2f26610e6828bdcde59d110763ad2bd8496d6..b18213d66a4d82874a0b389e553ae57ed8ea53e5 100644 (file)
@@ -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