f88fc1bde2039dc5d0086fef5a3183049e09181f,utils/pip_wrapper/pip_wrapper.py,,install,#Any#,5

Before Change




def install(package):
    return subprocess.check_call(f"{sys.executable} -m pip install {package}", shell=True)

After Change




def install(package):
    return subprocess.check_call([sys.executable, "-m", "pip", "install", package.replace(" ", "")])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: f88fc1bde2039dc5d0086fef5a3183049e09181f
Time: 2018-07-03
Author: yoptar@gmail.com
File Name: utils/pip_wrapper/pip_wrapper.py
Class Name:
Method Name: install


Project Name: mil-tokyo/webdnn
Commit Name: 959372edab3020c0164b8a2da4aaff1c49ba8400
Time: 2017-07-02
Author: y.kikura@gmail.com
File Name: example/resnet/convert_resnet_keras.py
Class Name:
Method Name: main


Project Name: google/unrestricted-adversarial-examples
Commit Name: 43900d342b205d66d196313d0f77c534df246a7f
Time: 2018-09-02
Author: nottombrown@gmail.com
File Name: bird-or-bicycle/bird_or_bicyle/dataset.py
Class Name:
Method Name: _crop_and_resize_images