summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-07-18 18:30:06 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-07-18 18:30:06 +0200
commit859c8ca6e54d95b8fd6b26487a09165f0a294025 (patch)
tree7a85e95873b716e3b134a42962c4b39b306b2889 /hyperkitty/views
parent63db25bb5e1a2605c7a2fdaabcba32422191f70b (diff)
downloadhyperkitty-859c8ca6e54d95b8fd6b26487a09165f0a294025.tar.gz
hyperkitty-859c8ca6e54d95b8fd6b26487a09165f0a294025.tar.xz
hyperkitty-859c8ca6e54d95b8fd6b26487a09165f0a294025.zip
Add unit tests for the reattach page
Diffstat (limited to 'hyperkitty/views')
-rw-r--r--hyperkitty/views/thread.py2
1 files changed, 0 insertions, 2 deletions
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."})