]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
templatetags: Remove dead tag
authorStephen Finucane <stephen@that.guru>
Tue, 4 Sep 2018 19:15:37 +0000 (20:15 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 11 Sep 2018 17:25:01 +0000 (11:25 -0600)
Nothing appears to be using this so it can be removed.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/templatetags/patch.py

index 4350e092eb802581d7f2bff7553185d48e856bb5..30ccc8e2a23c9d371f0bf9f8f68b8a3d42a061a7 100644 (file)
@@ -57,11 +57,6 @@ def patch_checks(patch):
         ' '.join([str(counts[state]) for state in required])))
 
 
-@register.filter(name='state_class')
-def state_class(state):
-    return '-'.join(state.split())
-
-
 @register.filter
 @stringfilter
 def msgid(value):