diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-08-02 23:53:35 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-08-02 23:53:35 +0100 |
commit | d61c2b20c832557b4ce65df53bc94c6c1bd1ef65 (patch) | |
tree | e7802f319a2b4547350b43ede3dcd45b6c9166c5 /flatpages/views.py | |
parent | 3dcc8883cd69d4289bb89f6fa3180d63dea542b9 (diff) | |
download | troggle-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.py | 2 |
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() |