6e9cec0914d8cd8413605a8b24a781de53b3d9de,scripts/build_upload.py,,run,#Any#Any#Any#,102

Before Change


    for k, v in kw.items():
        del os.environ[k]
    if p.returncode != 0:
        raise RuntimeError(out)
    return out

def cd(dir):
    print("+cd %s" % dir)

After Change


    p = Popen(cmd,  stdout=PIPE, stderr=PIPE)
    out, err = p.communicate()
    out = out.decode("utf-8").strip()
    err = err.decode("utf-8").strip()
    for k, v in kw.items():
        del os.environ[k]
    if p.returncode != 0:
        raise RuntimeError("STDOUT:\n\n" + out + "\n\nSTDERR:\n\n" + err)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 6e9cec0914d8cd8413605a8b24a781de53b3d9de
Time: 2017-01-19
Author: bryanv@continuum.io
File Name: scripts/build_upload.py
Class Name:
Method Name: run


Project Name: mortendahl/tf-encrypted
Commit Name: 50f9caba54a250607938b91b6564a76d0157a53f
Time: 2018-10-16
Author: yann.dupis@gmail.com
File Name: tensorflow_encrypted/convert/register.py
Class Name:
Method Name: maxpool


Project Name: mne-tools/mne-python
Commit Name: e6ce2be09f57042e895d4affe86c62124a15f140
Time: 2018-10-25
Author: larson.eric.d@gmail.com
File Name: mne/tests/test_import_nesting.py
Class Name:
Method Name: test_module_nesting


Project Name: bokeh/bokeh
Commit Name: 8451d9c3690f1d47adcb929771b4ce37ea2c3e0d
Time: 2017-09-01
Author: mattpap@gmail.com
File Name: bokeh/util/compiler.py
Class Name:
Method Name: _detect_nodejs