a894f3a89c57a0575d6ffecd50259cb219cd3477,manage.py,,,#,51

Before Change


        sleep(3)


parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(help="sub-command help", dest="subparser_name")

parser_drive = subparsers.add_parser("drive", help="drive help")
parser_record = subparsers.add_parser("record", help="record help")
parser_setup = subparsers.add_parser("setup", help="record help")

args = parser.parse_args()


def start_webserver():
    app.listen(8888)

After Change


    tornado.ioloop.IOLoop.instance().start()


if __name__ == "__main__":

    //Start webserver http://localhost:8888
    //Used to view camera stream and control c ar. 
    t = threading.Thread(target=start_webserver)
    t.daemon = True //to close thread on Ctrl-c
    t.start()


Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: autorope/donkeycar
Commit Name: a894f3a89c57a0575d6ffecd50259cb219cd3477
Time: 2016-12-12
Author: wroscoe@gmail.com
File Name: manage.py
Class Name:
Method Name:


Project Name: deepfakes/faceswap
Commit Name: ff8d85118e0a43f359084c6abfd1fd399611cf5b
Time: 2020-04-21
Author: 36920800+torzdf@users.noreply.github.com
File Name: faceswap.py
Class Name:
Method Name:


Project Name: deepfakes/faceswap
Commit Name: f16ea566f0565e7fb1eee3477e66e51c3ba87b1c
Time: 2018-04-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/sort.py
Class Name:
Method Name: