Skip to content

Commit 5c5d052

Browse files
authored
fix: remove unintended debug code (ietf-tools#3704)
1 parent 562742d commit 5c5d052

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ietf/doc/views_search.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,6 @@ def docs_for_ad(request, name):
447447
if blocked_docs:
448448
blocked_docs.sort(key=lambda d: min(p.time for p in d.blocking_positions if p.balloter==ad), reverse=True)
449449

450-
for d in blocked_docs:
451-
if d.get_base_name() == 'charter-ietf-shmoo-01-04.txt':
452-
print('Is in list')
453-
454450
return render(request, 'doc/drafts_for_ad.html', {
455451
'form':form, 'docs':results, 'meta':meta, 'ad_name': ad.plain_name(), 'blocked_docs': blocked_docs
456452
})
@@ -588,4 +584,4 @@ def ajax_select2_search_docs(request, model_name, doc_type):
588584

589585
objs = qs.distinct().order_by("name")[:20]
590586

591-
return HttpResponse(select2_id_doc_name_json(model, objs), content_type='application/json')
587+
return HttpResponse(select2_id_doc_name_json(model, objs), content_type='application/json')

0 commit comments

Comments
 (0)