fa11cbde34d68a45a88bca841d47b176b6a9b457,bokeh/server/views/root_handler.py,RootHandler,get,#RootHandler#,28

Before Change


            self.redirect(redirect_to)
        else:
            self.write("<ul>")
            for app_route, _ in self.applications.items():
                self.write("<li><a href={0}>{0}</a></li>".format(app_route))
            self.write("</ul>")

After Change


            redirect_to = (self.prefix if self.prefix else "") + app_names[0]
            self.redirect(redirect_to)
        else:
            self.render("app_index.html", items=self.applications.keys())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: bokeh/bokeh
Commit Name: fa11cbde34d68a45a88bca841d47b176b6a9b457
Time: 2016-06-10
Author: aboyle5@hotmail.com
File Name: bokeh/server/views/root_handler.py
Class Name: RootHandler
Method Name: get


Project Name: PIQuIL/QuCumber
Commit Name: 5041068ea241f946217690aee63942261911b42d
Time: 2018-08-07
Author: emerali@users.noreply.github.com
File Name: tasks.py
Class Name:
Method Name: build_docs


Project Name: MolSSI/QCEngine
Commit Name: b0ad8540b0aafd020da4d524399edf7fd58a35fe
Time: 2019-06-13
Author: sjrl423@gmail.com
File Name: qcengine/programs/molpro.py
Class Name: MolproHarness
Method Name: build_input