[PATCH] templatetags: Remove dead tag

Stephen Finucane stephen at that.guru
Wed Sep 5 05:15:37 AEST 2018


Nothing appears to be using this so it can be removed.

Signed-off-by: Stephen Finucane <stephen at that.guru>
---
 patchwork/templatetags/patch.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/patchwork/templatetags/patch.py b/patchwork/templatetags/patch.py
index 4350e092..30ccc8e2 100644
--- a/patchwork/templatetags/patch.py
+++ b/patchwork/templatetags/patch.py
@@ -57,11 +57,6 @@ def patch_checks(patch):
         ' '.join([str(counts[state]) for state in required])))
 
 
- at register.filter(name='state_class')
-def state_class(state):
-    return '-'.join(state.split())
-
-
 @register.filter
 @stringfilter
 def msgid(value):
-- 
2.17.1



More information about the Patchwork mailing list