From 859c8ca6e54d95b8fd6b26487a09165f0a294025 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 18 Jul 2013 18:30:06 +0200 Subject: Add unit tests for the reattach page --- hyperkitty/views/thread.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'hyperkitty/views/thread.py') diff --git a/hyperkitty/views/thread.py b/hyperkitty/views/thread.py index 5742703..a067aab 100644 --- a/hyperkitty/views/thread.py +++ b/hyperkitty/views/thread.py @@ -347,8 +347,6 @@ def reattach(request, mlist_fqdn, threadid): if not parent_tid: parent_tid = request.POST.get("parent-manual") if not parent_tid or not re.match("\w{32}", parent_tid): - raise ValueError("Invalid thread id, it should look like " - "OUAASTM6GS4E5TEATD6R2VWMULG44NKJ") flash_messages.append({"type": "warning", "msg": "Invalid thread id, it should look " "like OUAASTM6GS4E5TEATD6R2VWMULG44NKJ."}) -- cgit