File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -540,25 +540,25 @@ def find_artifact():
540540 }
541541
542542
543- def write_simple_index (project_names , streamed = False ):
543+ def write_simple_index (project_names ):
544544 """Writes the simple index."""
545545 simple = Template (simple_index_template )
546546 context = {
547547 "SIMPLE_API_VERSION" : SIMPLE_API_VERSION ,
548548 "projects" : ((x , canonicalize_name (x )) for x in project_names ),
549549 }
550- return simple .stream ( ** context ) if streamed else simple . render (** context )
550+ return simple .render (** context )
551551
552552
553- def write_simple_detail (project_name , project_packages , streamed = False ):
553+ def write_simple_detail (project_name , project_packages ):
554554 """Writes the simple detail page of a package."""
555555 detail = Template (simple_detail_template , autoescape = True )
556556 context = {
557557 "SIMPLE_API_VERSION" : SIMPLE_API_VERSION ,
558558 "project_name" : project_name ,
559559 "project_packages" : project_packages ,
560560 }
561- return detail .stream ( ** context ) if streamed else detail . render (** context )
561+ return detail .render (** context )
562562
563563
564564def write_simple_index_json (project_names ):
You can’t perform that action at this time.
0 commit comments