bc6042a0a200eaea9b3b7e8e45dd6767c7831d73,studio/local_worker.py,,pip_install_packages,#Any#Any#,278

Before Change


    pipout, _ = pipp.communicate()
    if logger:
        logger.info("pip output: \n" + pipout)
    return pipp.returncode


def wait_for_messages(queue, timeout, logger=None):
    wait_time = 0

After Change


    //    stdout=subprocess.PIPE,
    //    stderr=subprocess.STDOUT)
    // pipout, _ = pipp.communicate()
    return pip.main(["install"] + list(packages))
    // if logger:
    //    logger.info("pip output: \n" + pipout)
    // return pipp.returncode
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: studioml/studio
Commit Name: bc6042a0a200eaea9b3b7e8e45dd6767c7831d73
Time: 2017-10-20
Author: peter.zhokhov@sentient.ai
File Name: studio/local_worker.py
Class Name:
Method Name: pip_install_packages


Project Name: luispedro/mahotas
Commit Name: ddf53df83a042681ebf553a819766c5c654d0ab1
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/__init__.py
Class Name:
Method Name: run


Project Name: gboeing/osmnx
Commit Name: 1a4028e16c36aa112fad23e1c1ecfeb07f046e29
Time: 2017-11-27
Author: mike@remix.com
File Name: lambda_function.py
Class Name:
Method Name: lambda_handler