summaryrefslogtreecommitdiffstats
path: root/flatpages/views.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-08-02 23:53:35 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-08-02 23:53:35 +0100
commitd61c2b20c832557b4ce65df53bc94c6c1bd1ef65 (patch)
treee7802f319a2b4547350b43ede3dcd45b6c9166c5 /flatpages/views.py
parent3dcc8883cd69d4289bb89f6fa3180d63dea542b9 (diff)
downloadtroggle-d61c2b20c832557b4ce65df53bc94c6c1bd1ef65.tar.gz
troggle-d61c2b20c832557b4ce65df53bc94c6c1bd1ef65.tar.bz2
troggle-d61c2b20c832557b4ce65df53bc94c6c1bd1ef65.zip
Deleted archaisms and new comments
Diffstat (limited to 'flatpages/views.py')
-rw-r--r--flatpages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/views.py b/flatpages/views.py
index 8194b37..475531f 100644
--- a/flatpages/views.py
+++ b/flatpages/views.py
@@ -85,7 +85,7 @@ def flatpage(request, path):
if m:
preheader, headerattrs, head, postheader, bodyattrs, body, postbody = m.groups()
else:
- return HttpResponse(html + "Page could not be split into header and body: parsing failed in flatpages.views.py")
+ return HttpResponse(html + "HTML Parsing failure: Page could not be split into header and body: failed in flatpages.views.py")
m = re.search(rb"<title>(.*)</title>", head, re.DOTALL + re.IGNORECASE)
if m:
title, = m.groups()