From bf50f8886324160be60a827568afe48465c3222b Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Tue, 12 Sep 2023 09:37:13 -0500 Subject: [PATCH] chore: remove debug --- ietf/doc/views_doc.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index 313aede4e..0c2a65650 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -209,16 +209,12 @@ def document_main(request, name, rev=None, document_html=False): gh = None if rev: # find the entry in the history - debug.show('doc.name') for h in doc.history_set.order_by("-time"): if rev == h.rev: snapshot = True doc = h break - debug.show('doc.name') - - if not snapshot and document_html is False: return redirect('ietf.doc.views_doc.document_main', name=name) @@ -647,7 +643,6 @@ def document_main(request, name, rev=None, document_html=False): css = Path(finders.find("ietf/css/document_html_inline.css")).read_text() if html: css += Path(finders.find("ietf/css/document_html_txt.css")).read_text() - debug.show("doc.name") return render(request, "doc/document_draft.html" if document_html is False else "doc/document_html.html", dict(doc=doc,