[PATCH 12/13] trivial: Remove unreachable code

Stephen Finucane stephenfinucane at hotmail.com
Tue Sep 20 08:39:00 AEST 2016


Signed-off-by: Stephen Finucane <stephenfinucane at hotmail.com>
---
 patchwork/filters.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/patchwork/filters.py b/patchwork/filters.py
index 4d6eab9..5e9dcb8 100644
--- a/patchwork/filters.py
+++ b/patchwork/filters.py
@@ -73,7 +73,6 @@ class Filter(object):
         if self.forced:
             return mark_safe('<input type="hidden" value="%s">%s' % (
                 self.param, self.condition()))
-            return self.condition()
         return self._form()
 
     def kwargs(self):
-- 
2.7.4



More information about the Patchwork mailing list