prepare_message was being called twice for no reason. Probably
just a cut-and-paste mistake.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/views.py b/www/views.py
index 6ecfe59..b01d37e 100644
--- a/www/views.py
+++ b/www/views.py
@@ -79,7 +79,7 @@ def prepare_series(request, s, skip_patches=False):
def add_msg_recurse(m, skip_patches, depth=0):
a = prepare_message(request, m, True)
a.indent_level = min(depth, 4)
- r.append(prepare_message(request, m, True))
+ r.append(a)
replies = m.get_replies()
non_patches = [x for x in replies if not x.is_patch]
patches = []
--
2.17.0
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel